Class VkSparseImageFormatProperties

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

    public class VkSparseImageFormatProperties
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying sparse image format properties.

    Member documentation

    • aspectMask – a bitmask VkImageAspectFlagBits specifying which aspects of the image the properties apply to.
    • imageGranularity – the width, height, and depth of the sparse image block in texels or compressed texel blocks.
    • flags – a bitmask of VkSparseImageFormatFlagBits specifying additional information about the sparse resource.

    Layout

    
     struct VkSparseImageFormatProperties {
         VkImageAspectFlags aspectMask;
         VkExtent3D imageGranularity;
         VkSparseImageFormatFlags flags;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • ASPECTMASK, IMAGEGRANULARITY, FLAGS

        The struct member offsets.
    • Constructor Detail

      • VkSparseImageFormatProperties

        public VkSparseImageFormatProperties​(java.nio.ByteBuffer container)
        Creates a VkSparseImageFormatProperties 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.