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.Struct
Layout
struct VREvent_PerformanceTest_t { uint32_t m_nFidelityLevel; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventPerformanceTest.Buffer
An array ofVREventPerformanceTest
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
M_NFIDELITYLEVEL
The struct member offsets.static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventPerformanceTest(java.nio.ByteBuffer container)
Creates aVREventPerformanceTest
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 VREventPerformanceTest
create(long address)
Returns a newVREventPerformanceTest
instance for the specified memory address.static VREventPerformanceTest.Buffer
create(long address, int capacity)
Create aVREventPerformanceTest.Buffer
instance at the specified memory.static VREventPerformanceTest
createSafe(long address)
static VREventPerformanceTest.Buffer
createSafe(long address, int capacity)
int
m_nFidelityLevel()
Returns the value of them_nFidelityLevel
field.static int
nm_nFidelityLevel(long struct)
Unsafe version ofm_nFidelityLevel()
.int
sizeof()
-
-
-
Constructor Detail
-
VREventPerformanceTest
public VREventPerformanceTest(java.nio.ByteBuffer container)
Creates aVREventPerformanceTest
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
-
m_nFidelityLevel
public int m_nFidelityLevel()
Returns the value of them_nFidelityLevel
field.
-
create
public static VREventPerformanceTest create(long address)
Returns a newVREventPerformanceTest
instance 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.Buffer
instance 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()
.
-
-