Class VkImageSubresourceLayers

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

    public class VkImageSubresourceLayers
    extends Struct
    implements NativeResource
    Structure specifying an image subresource layers.
    Valid Usage
    Valid Usage (Implicit)
    • aspectMask must be a valid combination of VkImageAspectFlagBits values
    • aspectMask must not be 0
    See Also

    VkBufferImageCopy, VkImageBlit, VkImageCopy, VkImageResolve

    Member documentation

    • aspectMask – a combination of VkImageAspectFlagBits, selecting the color, depth and/or stencil aspects to be copied.
    • mipLevel – the mipmap level to copy from.
    • baseArrayLayerbaseArrayLayer and layerCount are the starting layer and number of layers to copy.
    • layerCount – see baseArrayLayer


     struct VkImageSubresourceLayers {
         VkImageAspectFlags aspectMask;
         uint32_t mipLevel;
         uint32_t baseArrayLayer;
         uint32_t layerCount;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkImageSubresourceLayers

        public VkImageSubresourceLayers​(java.nio.ByteBuffer container)
        Creates a VkImageSubresourceLayers instance at the current position of the specified ByteBuffer container. 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.