Package org.lwjgl.openvr
Class VREventScreenshot
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventScreenshot
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventScreenshot extends org.lwjgl.system.StructLayout
struct VREvent_Screenshot_t { uint32_t handle; uint32_t type; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventScreenshot.BufferAn array ofVREventScreenshotstructs.
-
Constructor Summary
Constructors Constructor Description VREventScreenshot(java.nio.ByteBuffer container)Creates aVREventScreenshotinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventScreenshotcreate(long address)Returns a newVREventScreenshotinstance for the specified memory address.static VREventScreenshot.Buffercreate(long address, int capacity)Create aVREventScreenshot.Bufferinstance at the specified memory.static VREventScreenshotcreateSafe(long address)static VREventScreenshot.BuffercreateSafe(long address, int capacity)inthandle()Returns the value of thehandlefield.static intnhandle(long struct)Unsafe version ofhandle().static intntype(long struct)Unsafe version oftype().intsizeof()inttype()Returns the value of thetypefield.
-
-
-
Constructor Detail
-
VREventScreenshot
public VREventScreenshot(java.nio.ByteBuffer container)
Creates aVREventScreenshotinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
handle
public int handle()
Returns the value of thehandlefield.
-
type
public int type()
Returns the value of thetypefield.
-
create
public static VREventScreenshot create(long address)
Returns a newVREventScreenshotinstance for the specified memory address.
-
createSafe
@Nullable public static VREventScreenshot createSafe(long address)
-
create
public static VREventScreenshot.Buffer create(long address, int capacity)
Create aVREventScreenshot.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventScreenshot.Buffer createSafe(long address, int capacity)
-
nhandle
public static int nhandle(long struct)
Unsafe version ofhandle().
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
-