Class VkSetDescriptorBufferOffsetsInfoEXT

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

public class VkSetDescriptorBufferOffsetsInfoEXT extends org.lwjgl.system.Struct<VkSetDescriptorBufferOffsetsInfoEXT> implements org.lwjgl.system.NativeResource
Structure specifying descriptor buffer offsets to set in a command buffer.
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_SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT
  • 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
  • pBufferIndices must be a valid pointer to an array of setCount uint32_t values
  • pOffsets must be a valid pointer to an array of setCount VkDeviceSize values
  • setCount must be greater than 0
See Also

CmdSetDescriptorBufferOffsets2EXT

Layout


 struct VkSetDescriptorBufferOffsetsInfoEXT {
     VkStructureType sType();
     void const * pNext();
     VkShaderStageFlags stageFlags();
     VkPipelineLayout layout();
     uint32_t firstSet();
     uint32_t setCount();
     uint32_t const * pBufferIndices();
     VkDeviceSize const * pOffsets();
 }