Package org.lwjgl.openvr
Class VREventStatus
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventStatus
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventStatus extends org.lwjgl.system.Struct
Used for a few events about overlays.Layout
struct VREvent_Status_t { uint32_t statusState; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventStatus.Buffer
An array ofVREventStatus
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
SIZEOF
The struct size in bytes.static int
STATUSSTATE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventStatus(java.nio.ByteBuffer container)
Creates aVREventStatus
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventStatus
create(long address)
Returns a newVREventStatus
instance for the specified memory address.static VREventStatus.Buffer
create(long address, int capacity)
Create aVREventStatus.Buffer
instance at the specified memory.static VREventStatus
createSafe(long address)
static VREventStatus.Buffer
createSafe(long address, int capacity)
static int
nstatusState(long struct)
Unsafe version ofstatusState()
.int
sizeof()
int
statusState()
Returns the value of thestatusState
field.
-
-
-
Constructor Detail
-
VREventStatus
public VREventStatus(java.nio.ByteBuffer container)
Creates aVREventStatus
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
-
statusState
public int statusState()
Returns the value of thestatusState
field.
-
create
public static VREventStatus create(long address)
Returns a newVREventStatus
instance for the specified memory address.
-
createSafe
@Nullable public static VREventStatus createSafe(long address)
-
create
public static VREventStatus.Buffer create(long address, int capacity)
Create aVREventStatus.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventStatus.Buffer createSafe(long address, int capacity)
-
nstatusState
public static int nstatusState(long struct)
Unsafe version ofstatusState()
.
-
-