Package org.lwjgl.openxr
Class XrFrustumfKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
-
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 interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrFrustumfKHR(ByteBuffer container) Creates aXrFrustumfKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrFrustumfKHRcalloc()Returns a newXrFrustumfKHRinstance allocated withmemCalloc.static XrFrustumfKHR.Buffercalloc(int capacity) Returns a newXrFrustumfKHR.Bufferinstance allocated withmemCalloc.static XrFrustumfKHR.Buffercalloc(int capacity, MemoryStack stack) Returns a newXrFrustumfKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrFrustumfKHRcalloc(MemoryStack stack) Returns a newXrFrustumfKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrFrustumfKHRcreate()Returns a newXrFrustumfKHRinstance allocated withBufferUtils.static XrFrustumfKHR.Buffercreate(int capacity) Returns a newXrFrustumfKHR.Bufferinstance allocated withBufferUtils.static XrFrustumfKHRcreate(long address) Returns a newXrFrustumfKHRinstance for the specified memory address.static XrFrustumfKHR.Buffercreate(long address, int capacity) Create aXrFrustumfKHR.Bufferinstance at the specified memory.static @Nullable XrFrustumfKHRcreateSafe(long address) static @Nullable XrFrustumfKHR.BuffercreateSafe(long address, int capacity) farZ(float value) Sets the specified value to thefarZfield.Passes thefovfield to the specifiedConsumer.Copies the specifiedXrFovfto thefovfield.static XrFrustumfKHRmalloc()Returns a newXrFrustumfKHRinstance allocated withmemAlloc.static XrFrustumfKHR.Buffermalloc(int capacity) Returns a newXrFrustumfKHR.Bufferinstance allocated withmemAlloc.static XrFrustumfKHR.Buffermalloc(int capacity, MemoryStack stack) Returns a newXrFrustumfKHR.Bufferinstance allocated on the specifiedMemoryStack.static XrFrustumfKHRmalloc(MemoryStack stack) Returns a newXrFrustumfKHRinstance allocated on the specifiedMemoryStack.nearZ(float value) Sets the specified value to thenearZfield.Passes theposefield to the specifiedConsumer.Copies the specifiedXrPosefto theposefield.set(XrFrustumfKHR src) Copies the specified struct data to this struct.Initializes this struct with the specified values.Methods inherited from class org.lwjgl.openxr.XrFrustumf
farZ, fov, nearZ, nfarZ, nfarZ, nfov, nfov, nnearZ, nnearZ, npose, npose, pose, set, sizeofMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
XrFrustumfKHR
Creates aXrFrustumfKHRinstance 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
-
pose
Copies the specifiedXrPosefto theposefield.- Overrides:
posein classXrFrustumf
-
pose
Passes theposefield to the specifiedConsumer.- Overrides:
posein classXrFrustumf
-
fov
Copies the specifiedXrFovfto thefovfield.- Overrides:
fovin classXrFrustumf
-
fov
Passes thefovfield to the specifiedConsumer.- Overrides:
fovin classXrFrustumf
-
nearZ
Sets the specified value to thenearZfield.- Overrides:
nearZin classXrFrustumf
-
farZ
Sets the specified value to thefarZfield.- Overrides:
farZin classXrFrustumf
-
set
Initializes this struct with the specified values.- Overrides:
setin classXrFrustumf
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newXrFrustumfKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrFrustumfKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrFrustumfKHRinstance allocated withBufferUtils. -
create
Returns a newXrFrustumfKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrFrustumfKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrFrustumfKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrFrustumfKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrFrustumfKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrFrustumfKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrFrustumfKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrFrustumfKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrFrustumfKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-