Class VkPushDescriptorSetWithTemplateInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPushDescriptorSetWithTemplateInfo>
org.lwjgl.vulkan.VkPushDescriptorSetWithTemplateInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkPushDescriptorSetWithTemplateInfoKHR

public class VkPushDescriptorSetWithTemplateInfo extends org.lwjgl.system.Struct<VkPushDescriptorSetWithTemplateInfo> implements org.lwjgl.system.NativeResource
Structure specifying a descriptor set push operation using a descriptor update template.
Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO
  • pNext must be NULL or a pointer to a valid instance of VkPipelineLayoutCreateInfo
  • The sType value of each struct in the pNext chain must be unique
  • descriptorUpdateTemplate must be a valid VkDescriptorUpdateTemplate handle
  • If layout is not NULL_HANDLE, layout must be a valid VkPipelineLayout handle
  • pData must be a pointer value
  • Both of descriptorUpdateTemplate, and layout that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
See Also

CmdPushDescriptorSetWithTemplate2, CmdPushDescriptorSetWithTemplate2KHR

Layout


 struct VkPushDescriptorSetWithTemplateInfo {
     VkStructureType sType();
     void const * pNext();
     VkDescriptorUpdateTemplate descriptorUpdateTemplate();
     VkPipelineLayout layout();
     uint32_t set();
     void const * pData();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • DESCRIPTORUPDATETEMPLATE

      public static final int DESCRIPTORUPDATETEMPLATE
      The struct member offsets.
    • LAYOUT

      public static final int LAYOUT
      The struct member offsets.
    • SET

      public static final int SET
      The struct member offsets.
    • PDATA

      public static final int PDATA
      The struct member offsets.
  • Constructor Details

    • VkPushDescriptorSetWithTemplateInfo

      public VkPushDescriptorSetWithTemplateInfo(ByteBuffer container)
      Creates a VkPushDescriptorSetWithTemplateInfo 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.

  • Method Details