Package org.lwjgl.vulkan
Class VkTransformMatrixNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkTransformMatrixKHR>
org.lwjgl.vulkan.VkTransformMatrixKHR
org.lwjgl.vulkan.VkTransformMatrixNV
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkTransformMatrixNV {
float matrix[3][4];
}-
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.vulkan.VkTransformMatrixKHR
ALIGNOF, MATRIX, SIZEOFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkTransformMatrixNV(ByteBuffer container) Creates aVkTransformMatrixNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkTransformMatrixNVcalloc()Returns a newVkTransformMatrixNVinstance allocated withmemCalloc.static VkTransformMatrixNV.Buffercalloc(int capacity) Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemCalloc.static VkTransformMatrixNV.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTransformMatrixNVcalloc(MemoryStack stack) Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTransformMatrixNVcreate()Returns a newVkTransformMatrixNVinstance allocated withBufferUtils.static VkTransformMatrixNV.Buffercreate(int capacity) Returns a newVkTransformMatrixNV.Bufferinstance allocated withBufferUtils.static VkTransformMatrixNVcreate(long address) Returns a newVkTransformMatrixNVinstance for the specified memory address.static VkTransformMatrixNV.Buffercreate(long address, int capacity) Create aVkTransformMatrixNV.Bufferinstance at the specified memory.static @Nullable VkTransformMatrixNVcreateSafe(long address) static @Nullable VkTransformMatrixNV.BuffercreateSafe(long address, int capacity) static VkTransformMatrixNVmalloc()Returns a newVkTransformMatrixNVinstance allocated withmemAlloc.static VkTransformMatrixNV.Buffermalloc(int capacity) Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemAlloc.static VkTransformMatrixNV.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStack.static VkTransformMatrixNVmalloc(MemoryStack stack) Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStack.matrix(int index, float value) Sets the specified value at the specified index of thematrixfield.matrix(FloatBuffer value) Copies the specifiedFloatBufferto thematrixfield.set(VkTransformMatrixNV src) Copies the specified struct data to this struct.Methods inherited from class org.lwjgl.vulkan.VkTransformMatrixKHR
matrix, matrix, nmatrix, nmatrix, nmatrix, nmatrix, 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
-
VkTransformMatrixNV
Creates aVkTransformMatrixNVinstance 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
-
matrix
Copies the specifiedFloatBufferto thematrixfield.- Overrides:
matrixin classVkTransformMatrixKHR
-
matrix
Sets the specified value at the specified index of thematrixfield.- Overrides:
matrixin classVkTransformMatrixKHR
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkTransformMatrixNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkTransformMatrixNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkTransformMatrixNVinstance allocated withBufferUtils. -
create
Returns a newVkTransformMatrixNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkTransformMatrixNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkTransformMatrixNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-