If the VkCommandBuffer will not be executed within a render pass instance, or if the render pass instance was begun with CmdBeginRendering, renderPass, subpass, and framebuffer are ignored.
inheritedQueries feature is not enabled, occlusionQueryEnable must be FALSEinheritedQueries feature is enabled, queryFlags must be a valid combination of VkQueryControlFlagBits valuesinheritedQueries feature is not enabled, queryFlags must be 0pipelineStatisticsQuery feature is enabled, pipelineStatistics must be a valid combination of VkQueryPipelineStatisticFlagBits valuespipelineStatisticsQuery feature is not enabled, pipelineStatistics must be 0sType must be STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkAttachmentSampleCountInfoAMD, VkCommandBufferInheritanceConditionalRenderingInfoEXT, VkCommandBufferInheritanceRenderPassTransformInfoQCOM, VkCommandBufferInheritanceRenderingInfo, VkCommandBufferInheritanceViewportScissorInfoNV, or VkMultiviewPerViewAttributesInfoNVXsType value of each struct in the pNext chain must be uniqueframebuffer, and renderPass that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
struct VkCommandBufferInheritanceInfo {
VkStructureType sType;
void const * pNext;
VkRenderPass renderPass;
uint32_t subpass;
VkFramebuffer framebuffer;
VkBool32 occlusionQueryEnable;
VkQueryControlFlags queryFlags;
VkQueryPipelineStatisticFlags pipelineStatistics;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkCommandBufferInheritanceInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FRAMEBUFFER
The struct member offsets. |
| public static final int | OCCLUSIONQUERYENABLE
The struct member offsets. |
| public static final int | PIPELINESTATISTICS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | QUERYFLAGS
The struct member offsets. |
| public static final int | RENDERPASS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | SUBPASS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkCommandBufferInheritanceInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkCommandBufferInheritanceInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkCommandBufferInheritanceInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo. | |
| public static VkCommandBufferInheritanceInfo. | |
| protected VkCommandBufferInheritanceInfo | 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 VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo | create(long address)
Returns a new |
| public static VkCommandBufferInheritanceInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkCommandBufferInheritanceInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo. | |
| public long | framebuffer()
can refer to the |
| public VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkCommandBufferInheritanceInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkCommandBufferInheritanceInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo | |
| public static VkCommandBufferInheritanceInfo. | |
| public static VkCommandBufferInheritanceInfo. | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public boolean | occlusionQueryEnable()
specifies whether the command buffer can be executed while an occlusion query is active in the primary command buffer. |
| public VkCommandBufferInheritanceInfo | |
| public int | pipelineStatistics()
a bitmask of |
| public VkCommandBufferInheritanceInfo | |
| public long | |
| public VkCommandBufferInheritanceInfo | |
| public VkCommandBufferInheritanceInfo | pNext(VkAttachmentSampleCountInfoAMD value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkAttachmentSampleCountInfoNV value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkCommandBufferInheritanceConditionalRenderingInfoEXT value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkCommandBufferInheritanceRenderPassTransformInfoQCOM value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkCommandBufferInheritanceRenderingInfo value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkCommandBufferInheritanceRenderingInfoKHR value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkCommandBufferInheritanceViewportScissorInfoNV value)
Prepends the specified |
| public VkCommandBufferInheritanceInfo | pNext(VkMultiviewPerViewAttributesInfoNVX value)
Prepends the specified |
| public int | queryFlags()
specifies the query flags that can be used by an active occlusion query in the primary command buffer when this secondary command buffer is executed. |
| public VkCommandBufferInheritanceInfo | |
| public long | renderPass()
a |
| public VkCommandBufferInheritanceInfo | |
| public VkCommandBufferInheritanceInfo | set(int sType, long pNext, long renderPass, int subpass, long framebuffer, boolean occlusionQueryEnable, int queryFlags, int pipelineStatistics)
Initializes this struct with the specified values. |
| public VkCommandBufferInheritanceInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkCommandBufferInheritanceInfo | |
| public VkCommandBufferInheritanceInfo | |
| public int | subpass()
the index of the subpass within the render pass instance that the |
| public VkCommandBufferInheritanceInfo |