Class VkPushDescriptorSetInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPushDescriptorSetInfoKHR>
org.lwjgl.vulkan.VkPushDescriptorSetInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPushDescriptorSetInfoKHR extends org.lwjgl.system.Struct<VkPushDescriptorSetInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying a descriptor set push operation.
Description

If stageFlags specifies a subset of all stages corresponding to one or more pipeline bind points, the binding operation still affects all stages corresponding to the given pipeline bind point(s) as if the equivalent original version of this command had been called with the same parameters. For example, specifying a stageFlags value of SHADER_STAGE_VERTEX_BIT | SHADER_STAGE_FRAGMENT_BIT | SHADER_STAGE_COMPUTE_BIT is equivalent to calling the original version of this command once with PIPELINE_BIND_POINT_GRAPHICS and once with PIPELINE_BIND_POINT_COMPUTE.

Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_INFO_KHR
  • 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
  • stageFlags must be a valid combination of VkShaderStageFlagBits values
  • stageFlags must not be 0
  • If layout is not NULL_HANDLE, layout must be a valid VkPipelineLayout handle
  • pDescriptorWrites must be a valid pointer to an array of descriptorWriteCount valid VkWriteDescriptorSet structures
  • descriptorWriteCount must be greater than 0
See Also

VkWriteDescriptorSet, CmdPushDescriptorSet2KHR

Layout


 struct VkPushDescriptorSetInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkShaderStageFlags stageFlags();
     VkPipelineLayout layout();
     uint32_t set();
     uint32_t descriptorWriteCount();
     VkWriteDescriptorSet const * pDescriptorWrites();
 }
  • 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.
    • STAGEFLAGS

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

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

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

      public static final int DESCRIPTORWRITECOUNT
      The struct member offsets.
    • PDESCRIPTORWRITES

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

    • VkPushDescriptorSetInfoKHR

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