Class VkDescriptorSetLayoutSupport

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkDescriptorSetLayoutSupportKHR

    public class VkDescriptorSetLayoutSupport
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure returning information about whether a descriptor set layout can be supported.
    Description

    supported is set to TRUE if the descriptor set can be created, or else is set to FALSE.

    Valid Usage (Implicit)
    See Also

    GetDescriptorSetLayoutSupport, GetDescriptorSetLayoutSupportKHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • supported – specifies whether the descriptor set layout can be created.

    Layout

    
     struct VkDescriptorSetLayoutSupport {
         VkStructureType sType;
         void * pNext;
         VkBool32 supported;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SUPPORTED

        The struct member offsets.
    • Constructor Detail

      • VkDescriptorSetLayoutSupport

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