Class VkImageSubresource

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


    public class VkImageSubresource
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Selects a specific image of an image subresource (mipLevel/arrayLayer) of an image created with linear tiling.

    Valid Usage
    • aspectMask must be a valid combination of VkImageAspectFlagBits values
    • aspectMask must not be 0
    • mipLevel must be less than the mipLevels specified in VkImageCreateInfo when the image was created
    • arrayLayer must be less than the arrayLayers specified in VkImageCreateInfo when the image was created

    Member documentation

    Layout

    struct VkImageSubresource {
        VkImageAspectFlags aspectMask;
        uint32_t mipLevel;
        uint32_t arrayLayer;
    }