If the pNext chain of VkCommandBufferInheritanceInfo includes a VkCommandBufferInheritanceRenderingInfo structure, then that structure controls parameters of dynamic render pass instances that the VkCommandBuffer can be executed within. If VkCommandBufferInheritanceInfo::renderPass is not NULL_HANDLE, or COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT is not specified in VkCommandBufferBeginInfo::flags, parameters of this structure are ignored.
If colorAttachmentCount is 0 and the variableMultisampleRate feature is enabled, rasterizationSamples is ignored.
If depthAttachmentFormat, stencilAttachmentFormat, or any element of pColorAttachmentFormats is FORMAT_UNDEFINED, it indicates that the corresponding attachment is unused within the render pass and writes to those attachments are discarded.
colorAttachmentCount is not 0, rasterizationSamples must be a valid VkSampleCountFlagBits valuevariableMultisampleRate feature is not enabled, rasterizationSamples must be a valid VkSampleCountFlagBits valuedepthAttachmentFormat is not FORMAT_UNDEFINED, it must be a format that includes a depth componentdepthAttachmentFormat is not FORMAT_UNDEFINED, it must be a format with potential format features that include FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BITpColorAttachmentFormats is not FORMAT_UNDEFINED, it must be a format with potential format features that include FORMAT_FEATURE_COLOR_ATTACHMENT_BIT , or FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV if the linearColorAttachment feature is enabledstencilAttachmentFormat is not FORMAT_UNDEFINED, it must be a format that includes a stencil aspectstencilAttachmentFormat is not FORMAT_UNDEFINED, it must be a format with potential format features that include FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BITdepthAttachmentFormat is not FORMAT_UNDEFINED and stencilAttachmentFormat is not FORMAT_UNDEFINED, depthAttachmentFormat must equal stencilAttachmentFormatmultiview feature is not enabled, viewMask must be 0viewMask must be less than maxMultiviewViewCountsType must be STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFOflags must be a valid combination of VkRenderingFlagBits valuescolorAttachmentCount is not 0, pColorAttachmentFormats must be a valid pointer to an array of colorAttachmentCount valid VkFormat valuesdepthAttachmentFormat must be a valid VkFormat valuestencilAttachmentFormat must be a valid VkFormat valuerasterizationSamples is not 0, rasterizationSamples must be a valid VkSampleCountFlagBits value
struct VkCommandBufferInheritanceRenderingInfo {
VkStructureType sType;
void const * pNext;
VkRenderingFlags flags;
uint32_t viewMask;
uint32_t colorAttachmentCount;
VkFormat const * pColorAttachmentFormats;
VkFormat depthAttachmentFormat;
VkFormat stencilAttachmentFormat;
VkSampleCountFlagBits rasterizationSamples;
}
| 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 | COLORATTACHMENTCOUNT
The struct member offsets. |
| public static final int | DEPTHATTACHMENTFORMAT
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PCOLORATTACHMENTFORMATS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | RASTERIZATIONSAMPLES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STENCILATTACHMENTFORMAT
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VIEWMASK
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkCommandBufferInheritanceRenderingInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkCommandBufferInheritanceRenderingInfo | |
| public static VkCommandBufferInheritanceRenderingInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkCommandBufferInheritanceRenderingInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkCommandBufferInheritanceRenderingInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| protected VkCommandBufferInheritanceRenderingInfo | 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 VkCommandBufferInheritanceRenderingInfo | |
| public static VkCommandBufferInheritanceRenderingInfo | create(long address)
Returns a new |
| public static VkCommandBufferInheritanceRenderingInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkCommandBufferInheritanceRenderingInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkCommandBufferInheritanceRenderingInfo | |
| public static VkCommandBufferInheritanceRenderingInfo. | |
| public int | |
| public VkCommandBufferInheritanceRenderingInfo | |
| public int | |
| public VkCommandBufferInheritanceRenderingInfo | |
| public static VkCommandBufferInheritanceRenderingInfo | |
| public static VkCommandBufferInheritanceRenderingInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkCommandBufferInheritanceRenderingInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkCommandBufferInheritanceRenderingInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ncolorAttachmentCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public IntBuffer | pColorAttachmentFormats()
a pointer to an array of |
| public VkCommandBufferInheritanceRenderingInfo | pColorAttachmentFormats(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkCommandBufferInheritanceRenderingInfo | |
| public int | rasterizationSamples()
a |
| public VkCommandBufferInheritanceRenderingInfo | |
| public VkCommandBufferInheritanceRenderingInfo | |
| public VkCommandBufferInheritanceRenderingInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkCommandBufferInheritanceRenderingInfo | |
| public int | |
| public VkCommandBufferInheritanceRenderingInfo | |
| public VkCommandBufferInheritanceRenderingInfo | sType$Default()
Sets the |
| public static void | |
| public int | |
| public VkCommandBufferInheritanceRenderingInfo |