Package org.lwjgl.openvr
Class VREventIpd
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventIpd
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventIpd extends org.lwjgl.system.StructLayout
struct VREvent_Ipd_t { float ipdMeters; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventIpd.BufferAn array ofVREventIpdstructs.
-
Constructor Summary
Constructors Constructor Description VREventIpd(java.nio.ByteBuffer container)Creates aVREventIpdinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventIpdcreate(long address)Returns a newVREventIpdinstance for the specified memory address.static VREventIpd.Buffercreate(long address, int capacity)Create aVREventIpd.Bufferinstance at the specified memory.static VREventIpdcreateSafe(long address)static VREventIpd.BuffercreateSafe(long address, int capacity)floatipdMeters()Returns the value of theipdMetersfield.static floatnipdMeters(long struct)Unsafe version ofipdMeters().intsizeof()
-
-
-
Constructor Detail
-
VREventIpd
public VREventIpd(java.nio.ByteBuffer container)
Creates aVREventIpdinstance 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
-
ipdMeters
public float ipdMeters()
Returns the value of theipdMetersfield.
-
create
public static VREventIpd create(long address)
Returns a newVREventIpdinstance for the specified memory address.
-
createSafe
@Nullable public static VREventIpd createSafe(long address)
-
create
public static VREventIpd.Buffer create(long address, int capacity)
Create aVREventIpd.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventIpd.Buffer createSafe(long address, int capacity)
-
nipdMeters
public static float nipdMeters(long struct)
Unsafe version ofipdMeters().
-
-