Package org.lwjgl.vulkan
Class VkCopyMemoryIndirectCommandNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkCopyMemoryIndirectCommandKHR>
org.lwjgl.vulkan.VkCopyMemoryIndirectCommandKHR
org.lwjgl.vulkan.VkCopyMemoryIndirectCommandNV
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkCopyMemoryIndirectCommandNV {
VkDeviceAddress srcAddress;
VkDeviceAddress dstAddress;
VkDeviceSize size;
}-
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.VkCopyMemoryIndirectCommandKHR
ALIGNOF, DSTADDRESS, SIZE, SIZEOF, SRCADDRESSFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkCopyMemoryIndirectCommandNV(ByteBuffer container) Creates aVkCopyMemoryIndirectCommandNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkCopyMemoryIndirectCommandNVinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkCopyMemoryIndirectCommandNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkCopyMemoryIndirectCommandNVinstance allocated withBufferUtils.create(int capacity) Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkCopyMemoryIndirectCommandNVinstance for the specified memory address.create(long address, int capacity) Create aVkCopyMemoryIndirectCommandNV.Bufferinstance at the specified memory.static @Nullable VkCopyMemoryIndirectCommandNVcreateSafe(long address) static @Nullable VkCopyMemoryIndirectCommandNV.BuffercreateSafe(long address, int capacity) dstAddress(long value) Sets the specified value to thedstAddressfield.malloc()Returns a newVkCopyMemoryIndirectCommandNVinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkCopyMemoryIndirectCommandNVinstance allocated on the specifiedMemoryStack.set(long srcAddress, long dstAddress, long size) Initializes this struct with the specified values.Copies the specified struct data to this struct.size(long value) Sets the specified value to thesizefield.srcAddress(long value) Sets the specified value to thesrcAddressfield.Methods inherited from class org.lwjgl.vulkan.VkCopyMemoryIndirectCommandKHR
dstAddress, ndstAddress, ndstAddress, nsize, nsize, nsrcAddress, nsrcAddress, set, size, sizeof, srcAddressMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkCopyMemoryIndirectCommandNV
Creates aVkCopyMemoryIndirectCommandNVinstance 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
-
srcAddress
Sets the specified value to thesrcAddressfield.- Overrides:
srcAddressin classVkCopyMemoryIndirectCommandKHR
-
dstAddress
Sets the specified value to thedstAddressfield.- Overrides:
dstAddressin classVkCopyMemoryIndirectCommandKHR
-
size
Sets the specified value to thesizefield.- Overrides:
sizein classVkCopyMemoryIndirectCommandKHR
-
set
Initializes this struct with the specified values.- Overrides:
setin classVkCopyMemoryIndirectCommandKHR
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkCopyMemoryIndirectCommandNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkCopyMemoryIndirectCommandNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkCopyMemoryIndirectCommandNVinstance allocated withBufferUtils. -
create
Returns a newVkCopyMemoryIndirectCommandNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkCopyMemoryIndirectCommandNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkCopyMemoryIndirectCommandNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkCopyMemoryIndirectCommandNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkCopyMemoryIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-