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.StructUsed 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 classVREventStatus.BufferAn array ofVREventStatusstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intSIZEOFThe struct size in bytes.static intSTATUSSTATEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventStatus(java.nio.ByteBuffer container)Creates aVREventStatusinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventStatuscreate(long address)Returns a newVREventStatusinstance for the specified memory address.static VREventStatus.Buffercreate(long address, int capacity)Create aVREventStatus.Bufferinstance at the specified memory.static VREventStatuscreateSafe(long address)static VREventStatus.BuffercreateSafe(long address, int capacity)static intnstatusState(long struct)Unsafe version ofstatusState().intsizeof()intstatusState()Returns the value of thestatusStatefield.
-
-
-
Constructor Detail
-
VREventStatus
public VREventStatus(java.nio.ByteBuffer container)
Creates aVREventStatusinstance 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
-
statusState
public int statusState()
Returns the value of thestatusStatefield.
-
create
public static VREventStatus create(long address)
Returns a newVREventStatusinstance 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.Bufferinstance 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().
-
-