Package org.lwjgl.openvr
Class VREventPerformanceTest
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventPerformanceTest
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventPerformanceTest extends org.lwjgl.system.StructLayout
struct VREvent_PerformanceTest_t { uint32_t m_nFidelityLevel; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventPerformanceTest.BufferAn array ofVREventPerformanceTeststructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intM_NFIDELITYLEVELThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventPerformanceTest(java.nio.ByteBuffer container)Creates aVREventPerformanceTestinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventPerformanceTestcreate(long address)Returns a newVREventPerformanceTestinstance for the specified memory address.static VREventPerformanceTest.Buffercreate(long address, int capacity)Create aVREventPerformanceTest.Bufferinstance at the specified memory.static VREventPerformanceTestcreateSafe(long address)static VREventPerformanceTest.BuffercreateSafe(long address, int capacity)intm_nFidelityLevel()Returns the value of them_nFidelityLevelfield.static intnm_nFidelityLevel(long struct)Unsafe version ofm_nFidelityLevel().intsizeof()
-
-
-
Constructor Detail
-
VREventPerformanceTest
public VREventPerformanceTest(java.nio.ByteBuffer container)
Creates aVREventPerformanceTestinstance 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
-
m_nFidelityLevel
public int m_nFidelityLevel()
Returns the value of them_nFidelityLevelfield.
-
create
public static VREventPerformanceTest create(long address)
Returns a newVREventPerformanceTestinstance for the specified memory address.
-
createSafe
@Nullable public static VREventPerformanceTest createSafe(long address)
-
create
public static VREventPerformanceTest.Buffer create(long address, int capacity)
Create aVREventPerformanceTest.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventPerformanceTest.Buffer createSafe(long address, int capacity)
-
nm_nFidelityLevel
public static int nm_nFidelityLevel(long struct)
Unsafe version ofm_nFidelityLevel().
-
-