Class VkImageResolve

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class VkImageResolve
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Specifies a region to resolve.

    Valid Usage
    • srcSubresource must be a valid VkImageSubresourceLayers structure
    • dstSubresource must be a valid VkImageSubresourceLayers structure
    • The aspectMask member of srcSubresource and dstSubresource must only contain IMAGE_ASPECT_COLOR_BIT
    • The layerCount member of srcSubresource and dstSubresource must match
    • If either of the calling command's srcImage or dstImage parameters are of VkImageType IMAGE_TYPE_3D, the baseArrayLayer and layerCount members of both srcSubresource and dstSubresource must be 0 and 1, respectively

    Member documentation

    • srcSubresource – a VkImageSubresourceLayers structure specifying the image subresource of the image used for the source image data
    • srcOffset – selects the initial x, y, and z offsets in texels of the sub-region of the source image data
    • dstSubresource – a VkImageSubresourceLayers structure specifying the image subresource of the image used for the destination image data
    • dstOffset – selects the initial x, y, and z offsets in texels of the sub-region of the destination image data
    • extent – the size in texels of the source image to resolve in width, height and depth

    Layout

    struct VkImageResolve {
        VkImageSubresourceLayers srcSubresource;
        VkOffset3D srcOffset;
        VkImageSubresourceLayers dstSubresource;
        VkOffset3D dstOffset;
        VkExtent3D extent;
    }