Package org.lwjgl.openvr
Class VREventProperty
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventProperty
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventProperty extends org.lwjgl.system.StructLayout
struct VREvent_Property_t { PropertyContainerHandle_t container; ETrackedDevicePropertyprop(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventProperty.BufferAn array ofVREventPropertystructs.
-
Constructor Summary
Constructors Constructor Description VREventProperty(java.nio.ByteBuffer container)Creates aVREventPropertyinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
-
-
-
Constructor Detail
-
VREventProperty
public VREventProperty(java.nio.ByteBuffer container)
Creates aVREventPropertyinstance 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
-
container
public long container()
- Returns:
- the value of the
containerfield.
-
prop
public int prop()
one of:
-
create
public static VREventProperty create(long address)
Returns a newVREventPropertyinstance for the specified memory address.
-
createSafe
@Nullable public static VREventProperty createSafe(long address)
-
create
public static VREventProperty.Buffer create(long address, int capacity)
Create aVREventProperty.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventProperty.Buffer createSafe(long address, int capacity)
-
ncontainer
public static long ncontainer(long struct)
Unsafe version ofcontainer().
-
nprop
public static int nprop(long struct)
Unsafe version ofprop().
-
-