Class VkImageBlit

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkImageBlit extends Struct<VkImageBlit> implements 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 the maintenance5 feature is not enabled, the layerCount member of srcSubresource or dstSubresource must not be REMAINING_ARRAY_LAYERS
  • 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];
 }