Class VkImageBlit

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkImageBlit>
org.lwjgl.vulkan.VkImageBlit
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkImageBlit extends org.lwjgl.system.Struct<VkImageBlit> implements org.lwjgl.system.NativeResource
Structure specifying an image blit operation.
Description

For each element of the pRegions array, a blit operation is performed for the specified source and destination regions.

Valid Usage
  • The aspectMask member of srcSubresource and dstSubresource must match
  • If neither of the layerCount members of srcSubresource or dstSubresource are REMAINING_ARRAY_LAYERS, the layerCount members of srcSubresource or dstSubresource must match
  • If one of the layerCount members of srcSubresource or dstSubresource is REMAINING_ARRAY_LAYERS, the other member must be either REMAINING_ARRAY_LAYERS or equal to the arrayLayers member of the VkImageCreateInfo used to create the image minus baseArrayLayer
Valid Usage (Implicit)
See Also

VkImageSubresourceLayers, VkOffset3D, CmdBlitImage

Layout


 struct VkImageBlit {
     VkImageSubresourceLayers srcSubresource();
     VkOffset3D srcOffsets()[2];
     VkImageSubresourceLayers dstSubresource();
     VkOffset3D dstOffsets()[2];
 }