Package org.lwjgl.vulkan
Class VkCopyMemoryToImageIndirectCommandNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkCopyMemoryToImageIndirectCommandKHR>
org.lwjgl.vulkan.VkCopyMemoryToImageIndirectCommandKHR
org.lwjgl.vulkan.VkCopyMemoryToImageIndirectCommandNV
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkCopyMemoryToImageIndirectCommandNV {
VkDeviceAddress srcAddress;
uint32_t bufferRowLength;
uint32_t bufferImageHeight;
VkImageSubresourceLayers imageSubresource;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkCopyMemoryToImageIndirectCommandNVstructs.Nested 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.VkCopyMemoryToImageIndirectCommandKHR
ALIGNOF, BUFFERIMAGEHEIGHT, BUFFERROWLENGTH, IMAGEEXTENT, IMAGEOFFSET, IMAGESUBRESOURCE, SIZEOF, SRCADDRESSFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkCopyMemoryToImageIndirectCommandNV(ByteBuffer container) Creates aVkCopyMemoryToImageIndirectCommandNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbufferImageHeight(int value) Sets the specified value to thebufferImageHeightfield.bufferRowLength(int value) Sets the specified value to thebufferRowLengthfield.calloc()Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated withBufferUtils.create(int capacity) Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkCopyMemoryToImageIndirectCommandNVinstance for the specified memory address.create(long address, int capacity) Create aVkCopyMemoryToImageIndirectCommandNV.Bufferinstance at the specified memory.static @Nullable VkCopyMemoryToImageIndirectCommandNVcreateSafe(long address) static @Nullable VkCopyMemoryToImageIndirectCommandNV.BuffercreateSafe(long address, int capacity) imageExtent(Consumer<VkExtent3D> consumer) Passes theimageExtentfield to the specifiedConsumer.imageExtent(VkExtent3D value) Copies the specifiedVkExtent3Dto theimageExtentfield.imageOffset(Consumer<VkOffset3D> consumer) Passes theimageOffsetfield to the specifiedConsumer.imageOffset(VkOffset3D value) Copies the specifiedVkOffset3Dto theimageOffsetfield.imageSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes theimageSubresourcefield to the specifiedConsumer.Copies the specifiedVkImageSubresourceLayersto theimageSubresourcefield.malloc()Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated on the specifiedMemoryStack.set(long srcAddress, int bufferRowLength, int bufferImageHeight, VkImageSubresourceLayers imageSubresource, VkOffset3D imageOffset, VkExtent3D imageExtent) Initializes this struct with the specified values.Copies the specified struct data to this struct.srcAddress(long value) Sets the specified value to thesrcAddressfield.Methods inherited from class org.lwjgl.vulkan.VkCopyMemoryToImageIndirectCommandKHR
bufferImageHeight, bufferRowLength, imageExtent, imageOffset, imageSubresource, nbufferImageHeight, nbufferImageHeight, nbufferRowLength, nbufferRowLength, nimageExtent, nimageExtent, nimageOffset, nimageOffset, nimageSubresource, nimageSubresource, nsrcAddress, nsrcAddress, set, 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
-
VkCopyMemoryToImageIndirectCommandNV
Creates aVkCopyMemoryToImageIndirectCommandNVinstance 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 classVkCopyMemoryToImageIndirectCommandKHR
-
bufferRowLength
Sets the specified value to thebufferRowLengthfield.- Overrides:
bufferRowLengthin classVkCopyMemoryToImageIndirectCommandKHR
-
bufferImageHeight
Sets the specified value to thebufferImageHeightfield.- Overrides:
bufferImageHeightin classVkCopyMemoryToImageIndirectCommandKHR
-
imageSubresource
Copies the specifiedVkImageSubresourceLayersto theimageSubresourcefield.- Overrides:
imageSubresourcein classVkCopyMemoryToImageIndirectCommandKHR
-
imageSubresource
public VkCopyMemoryToImageIndirectCommandNV imageSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes theimageSubresourcefield to the specifiedConsumer.- Overrides:
imageSubresourcein classVkCopyMemoryToImageIndirectCommandKHR
-
imageOffset
Copies the specifiedVkOffset3Dto theimageOffsetfield.- Overrides:
imageOffsetin classVkCopyMemoryToImageIndirectCommandKHR
-
imageOffset
Passes theimageOffsetfield to the specifiedConsumer.- Overrides:
imageOffsetin classVkCopyMemoryToImageIndirectCommandKHR
-
imageExtent
Copies the specifiedVkExtent3Dto theimageExtentfield.- Overrides:
imageExtentin classVkCopyMemoryToImageIndirectCommandKHR
-
imageExtent
Passes theimageExtentfield to the specifiedConsumer.- Overrides:
imageExtentin classVkCopyMemoryToImageIndirectCommandKHR
-
set
public VkCopyMemoryToImageIndirectCommandNV set(long srcAddress, int bufferRowLength, int bufferImageHeight, VkImageSubresourceLayers imageSubresource, VkOffset3D imageOffset, VkExtent3D imageExtent) Initializes this struct with the specified values.- Overrides:
setin classVkCopyMemoryToImageIndirectCommandKHR
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated withBufferUtils. -
create
Returns a newVkCopyMemoryToImageIndirectCommandNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkCopyMemoryToImageIndirectCommandNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkCopyMemoryToImageIndirectCommandNV.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkCopyMemoryToImageIndirectCommandNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkCopyMemoryToImageIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-