Package org.lwjgl.openvr
Class VREventSeatedZeroPoseReset
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventSeatedZeroPoseReset
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventSeatedZeroPoseReset extends org.lwjgl.system.Struct
Layout
struct VREvent_SeatedZeroPoseReset_t { bool bResetBySystemMenu; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventSeatedZeroPoseReset.Buffer
An array ofVREventSeatedZeroPoseReset
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
BRESETBYSYSTEMMENU
The struct member offsets.static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventSeatedZeroPoseReset(java.nio.ByteBuffer container)
Creates aVREventSeatedZeroPoseReset
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
bResetBySystemMenu()
Returns the value of thebResetBySystemMenu
field.static VREventSeatedZeroPoseReset
create(long address)
Returns a newVREventSeatedZeroPoseReset
instance for the specified memory address.static VREventSeatedZeroPoseReset.Buffer
create(long address, int capacity)
Create aVREventSeatedZeroPoseReset.Buffer
instance at the specified memory.static VREventSeatedZeroPoseReset
createSafe(long address)
static VREventSeatedZeroPoseReset.Buffer
createSafe(long address, int capacity)
static boolean
nbResetBySystemMenu(long struct)
Unsafe version ofbResetBySystemMenu()
.int
sizeof()
-
-
-
Constructor Detail
-
VREventSeatedZeroPoseReset
public VREventSeatedZeroPoseReset(java.nio.ByteBuffer container)
Creates aVREventSeatedZeroPoseReset
instance at the current position of the specifiedByteBuffer
container. 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:
sizeof
in classorg.lwjgl.system.Struct
-
bResetBySystemMenu
public boolean bResetBySystemMenu()
Returns the value of thebResetBySystemMenu
field.
-
create
public static VREventSeatedZeroPoseReset create(long address)
Returns a newVREventSeatedZeroPoseReset
instance for the specified memory address.
-
createSafe
@Nullable public static VREventSeatedZeroPoseReset createSafe(long address)
-
create
public static VREventSeatedZeroPoseReset.Buffer create(long address, int capacity)
Create aVREventSeatedZeroPoseReset.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventSeatedZeroPoseReset.Buffer createSafe(long address, int capacity)
-
nbResetBySystemMenu
public static boolean nbResetBySystemMenu(long struct)
Unsafe version ofbResetBySystemMenu()
.
-
-