Package org.lwjgl.vulkan
Class VkTransformMatrixNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkTransformMatrixKHR
-
- org.lwjgl.vulkan.VkTransformMatrixNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkTransformMatrixNV extends VkTransformMatrixKHR
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkTransformMatrixNV.BufferAn array ofVkTransformMatrixNVstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkTransformMatrixKHR
ALIGNOF, MATRIX, SIZEOF
-
-
Constructor Summary
Constructors Constructor Description VkTransformMatrixNV(java.nio.ByteBuffer container)Creates aVkTransformMatrixNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkTransformMatrixNVcalloc()Returns a newVkTransformMatrixNVinstance allocated withmemCalloc.static VkTransformMatrixNV.Buffercalloc(int capacity)Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemCalloc.static VkTransformMatrixNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTransformMatrixNVcalloc(org.lwjgl.system.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 VkTransformMatrixNVcreateSafe(long address)static 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, org.lwjgl.system.MemoryStack stack)Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStack.static VkTransformMatrixNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStack.VkTransformMatrixNVmatrix(int index, float value)Sets the specified value at the specified index of thematrixfield.VkTransformMatrixNVmatrix(java.nio.FloatBuffer value)Copies the specifiedFloatBufferto thematrixfield.VkTransformMatrixNVset(VkTransformMatrixNV src)Copies the specified struct data to this struct.
-
-
-
Constructor Detail
-
VkTransformMatrixNV
public VkTransformMatrixNV(java.nio.ByteBuffer container)
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 Detail
-
matrix
public VkTransformMatrixNV matrix(java.nio.FloatBuffer value)
Copies the specifiedFloatBufferto thematrixfield.- Overrides:
matrixin classVkTransformMatrixKHR
-
matrix
public VkTransformMatrixNV matrix(int index, float value)
Sets the specified value at the specified index of thematrixfield.- Overrides:
matrixin classVkTransformMatrixKHR
-
set
public VkTransformMatrixNV set(VkTransformMatrixNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkTransformMatrixNV malloc()
Returns a newVkTransformMatrixNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkTransformMatrixNV calloc()
Returns a newVkTransformMatrixNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkTransformMatrixNV create()
Returns a newVkTransformMatrixNVinstance allocated withBufferUtils.
-
create
public static VkTransformMatrixNV create(long address)
Returns a newVkTransformMatrixNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkTransformMatrixNV createSafe(long address)
-
malloc
public static VkTransformMatrixNV.Buffer malloc(int capacity)
Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkTransformMatrixNV.Buffer calloc(int capacity)
Returns a newVkTransformMatrixNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkTransformMatrixNV.Buffer create(int capacity)
Returns a newVkTransformMatrixNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkTransformMatrixNV.Buffer create(long address, int capacity)
Create aVkTransformMatrixNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkTransformMatrixNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkTransformMatrixNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkTransformMatrixNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkTransformMatrixNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkTransformMatrixNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkTransformMatrixNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkTransformMatrixNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-