When referencing shader groups by index, groups defined in the referenced pipelines are treated as if they were defined as additional entries in pGroups. They are appended in the order they appear in the pPipelines array and in the pGroups array when those pipelines were defined.
The application must maintain the lifetime of all such referenced pipelines based on the pipelines that make use of them.
groupCount must be at least 1 and as maximum VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV::maxGraphicsShaderGroupCountgroupCount including those groups added from referenced pPipelines must also be as maximum VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV::maxGraphicsShaderGroupCountpGroups must match its equivalent within the parent’s VkGraphicsPipelineCreateInfopGroups must in combination with the rest of the pipeline state yield a valid state configurationpGroups must use the same shader stage combinations unless any mesh shader stage is used, then either combination of task and mesh or just mesh shader is validpGroupspPipelines must have been created with identical state to the pipeline currently created except the state that can be overridden by VkGraphicsShaderGroupCreateInfoNVdeviceGeneratedCommands feature must be enabledsType must be STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NVgroupCount is not 0, pGroups must be a valid pointer to an array of groupCount valid VkGraphicsShaderGroupCreateInfoNV structurespipelineCount is not 0, pPipelines must be a valid pointer to an array of pipelineCount valid VkPipeline handlesVkGraphicsShaderGroupCreateInfoNV
struct VkGraphicsPipelineShaderGroupsCreateInfoNV {
VkStructureType sType;
void const * pNext;
uint32_t groupCount;
VkGraphicsShaderGroupCreateInfoNV const * pGroups;
uint32_t pipelineCount;
VkPipeline const * pPipelines;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | GROUPCOUNT
The struct member offsets. |
| public static final int | PGROUPS
The struct member offsets. |
| public static final int | PIPELINECOUNT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PPIPELINES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkGraphicsPipelineShaderGroupsCreateInfoNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkGraphicsPipelineShaderGroupsCreateInfoNV | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | create()
Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | create(long address)
Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | |
| public int | |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ngroupCount(long struct, int value)
Sets the specified value to the |
| public static VkGraphicsShaderGroupCreateInfoNV. | |
| public static void | |
| public static int | |
| public static void | npipelineCount(long struct, int value)
Sets the specified value to the |
| public static long | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static int | |
| public static void | |
| public VkGraphicsShaderGroupCreateInfoNV. | pGroups()
a pointer to an array of |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | pGroups(VkGraphicsShaderGroupCreateInfoNV.
Sets the address of the specified |
| public int | |
| public long | |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | |
| public LongBuffer | pPipelines()
a pointer to an array of graphics |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | set(int sType, long pNext, VkGraphicsShaderGroupCreateInfoNV.
Initializes this struct with the specified values. |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | |
| public VkGraphicsPipelineShaderGroupsCreateInfoNV | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| GROUPCOUNT | back to summary |
|---|---|
| public static final int GROUPCOUNT The struct member offsets. | |
| PGROUPS | back to summary |
|---|---|
| public static final int PGROUPS The struct member offsets. | |
| PIPELINECOUNT | back to summary |
|---|---|
| public static final int PIPELINECOUNT The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PPIPELINES | back to summary |
|---|---|
| public static final int PPIPELINES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkGraphicsPipelineShaderGroupsCreateInfoNV | back to summary |
|---|---|
| protected VkGraphicsPipelineShaderGroupsCreateInfoNV(long address, ByteBuffer container) | |
| VkGraphicsPipelineShaderGroupsCreateInfoNV | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkGraphicsPipelineShaderGroupsCreateInfoNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Like
| |
| groupCount | back to summary |
|---|---|
| public int groupCount() the number of elements in the
| |
| malloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkGraphicsPipelineShaderGroupsCreateInfoNV. Returns a new
| |
| ngroupCount | back to summary |
|---|---|
| public static int ngroupCount(long struct) Unsafe version of | |
| ngroupCount | back to summary |
|---|---|
| public static void ngroupCount(long struct, int value) Sets the specified value to the | |
| npGroups | back to summary |
|---|---|
| public static VkGraphicsShaderGroupCreateInfoNV. Unsafe version of
| |
| npGroups | back to summary |
|---|---|
| public static void npGroups(long struct, VkGraphicsShaderGroupCreateInfoNV. Unsafe version of | |
| npipelineCount | back to summary |
|---|---|
| public static int npipelineCount(long struct) Unsafe version of | |
| npipelineCount | back to summary |
|---|---|
| public static void npipelineCount(long struct, int value) Sets the specified value to the | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npPipelines | back to summary |
|---|---|
| public static LongBuffer npPipelines(long struct) Unsafe version of
| |
| npPipelines | back to summary |
|---|---|
| public static void npPipelines(long struct, LongBuffer value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pGroups | back to summary |
|---|---|
| public VkGraphicsShaderGroupCreateInfoNV. a pointer to an array of
| |
| pGroups | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV pGroups(VkGraphicsShaderGroupCreateInfoNV. Sets the address of the specified | |
| pipelineCount | back to summary |
|---|---|
| public int pipelineCount() the number of elements in the
| |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV pNext(long value) Sets the specified value to the | |
| pPipelines | back to summary |
|---|---|
| public LongBuffer pPipelines() a pointer to an array of graphics
| |
| pPipelines | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV pPipelines(LongBuffer value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV set(int sType, long pNext, VkGraphicsShaderGroupCreateInfoNV. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV set(VkGraphicsPipelineShaderGroupsCreateInfoNV src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkGraphicsPipelineShaderGroupsCreateInfoNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkGraphicsPipelineShaderGroupsCreateInfoNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkGraphicsPipelineShaderGroupsCreateInfoNV ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkGraphicsPipelineShaderGroupsCreateInfoNV getElementFactory() Implements abstract org.
| |
| groupCount | back to summary |
|---|---|
public int groupCount()
| |
| pGroups | back to summary |
|---|---|
public VkGraphicsShaderGroupCreateInfoNV.
| |
| pGroups | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV. Sets the address of the specified | |
| pipelineCount | back to summary |
|---|---|
public int pipelineCount()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV. Sets the specified value to the | |
| pPipelines | back to summary |
|---|---|
public LongBuffer pPipelines()
| |
| pPipelines | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkGraphicsPipelineShaderGroupsCreateInfoNV. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkGraphicsPipelineShaderGroupsCreateInfoNV. Sets the | |