Package org.lwjgl.openxr
Class XrSpaceVelocityDataKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSpaceVelocityData>
org.lwjgl.openxr.XrSpaceVelocityData
org.lwjgl.openxr.XrSpaceVelocityDataKHR
- All Implemented Interfaces:
Pointer
struct XrSpaceVelocityDataKHR {
XrSpaceVelocityFlags velocityFlags;
XrVector3f linearVelocity;
XrVector3f angularVelocity;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from class org.lwjgl.openxr.XrSpaceVelocityData
ALIGNOF, ANGULARVELOCITY, LINEARVELOCITY, SIZEOF, VELOCITYFLAGSFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrSpaceVelocityDataKHR(ByteBuffer container) Creates aXrSpaceVelocityDataKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrSpaceVelocityDataKHRcalloc()Returns a newXrSpaceVelocityDataKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSpaceVelocityDataKHRcalloc(MemoryStack stack) Returns a newXrSpaceVelocityDataKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrSpaceVelocityDataKHRcreate()Returns a newXrSpaceVelocityDataKHRinstance allocated withBufferUtils.create(int capacity) Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated withBufferUtils.static XrSpaceVelocityDataKHRcreate(long address) Returns a newXrSpaceVelocityDataKHRinstance for the specified memory address.create(long address, int capacity) Create aXrSpaceVelocityDataKHR.Bufferinstance at the specified memory.static @Nullable XrSpaceVelocityDataKHRcreateSafe(long address) static @Nullable XrSpaceVelocityDataKHR.BuffercreateSafe(long address, int capacity) static XrSpaceVelocityDataKHRmalloc()Returns a newXrSpaceVelocityDataKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated on the specifiedMemoryStack.static XrSpaceVelocityDataKHRmalloc(MemoryStack stack) Returns a newXrSpaceVelocityDataKHRinstance allocated on the specifiedMemoryStack.Methods inherited from class org.lwjgl.openxr.XrSpaceVelocityData
angularVelocity, linearVelocity, nangularVelocity, nlinearVelocity, nvelocityFlags, sizeof, velocityFlagsMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Constructor Details
-
XrSpaceVelocityDataKHR
Creates aXrSpaceVelocityDataKHRinstance 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 Details
-
malloc
Returns a newXrSpaceVelocityDataKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrSpaceVelocityDataKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrSpaceVelocityDataKHRinstance allocated withBufferUtils. -
create
Returns a newXrSpaceVelocityDataKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrSpaceVelocityDataKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrSpaceVelocityDataKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrSpaceVelocityDataKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrSpaceVelocityDataKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-