VkCommandBufferInheritanceInfo | NVK Search
  1. No Results
Categories
VkCommandBufferInheritanceInfo Structure specifying command buffer inheritance info Syntax
commandBufferInheritanceInfo = VkCommandBufferInheritanceInfo();
commandBufferInheritanceInfo = new VkCommandBufferInheritanceInfo();
commandBufferInheritanceInfo = new VkCommandBufferInheritanceInfo(object);
Stub Parameters object When instantiated with an object, members can be filled directly. Properties VkCommandBufferInheritanceInfo.prototype.sType VkStructureType is the type of this structure. VkCommandBufferInheritanceInfo.prototype.pNext null is null or a reference to an extension-specific structure. VkCommandBufferInheritanceInfo.prototype.renderPass VkRenderPass is a VkRenderPass object defining which render passes the VkCommandBuffer will be <> with and can be executed within. If the VkCommandBuffer will not be executed within a render pass instance, renderPass is ignored. VkCommandBufferInheritanceInfo.prototype.subpass Number is the index of the subpass within the render pass instance that the VkCommandBuffer will be executed within. If the VkCommandBuffer will not be executed within a render pass instance, subpass is ignored. VkCommandBufferInheritanceInfo.prototype.framebuffer VkFramebuffer optionally refers to the VkFramebuffer object that the VkCommandBuffer will be rendering to if it is executed within a render pass instance. It can be VK_NULL_HANDLE if the framebuffer is not known, or if the VkCommandBuffer will not be executed within a render pass instance.+[NOTE].Note====Specifying the exact framebuffer that the secondary command buffer will beexecuted with may result in better performance at command buffer executiontime.==== VkCommandBufferInheritanceInfo.prototype.occlusionQueryEnable Boolean specifies whether the command buffer can be executed while an occlusion query is active in the primary command buffer. If this is VK_TRUE, then this command buffer can be executed whether the primary command buffer has an occlusion query active or not. If this is VK_FALSE, then the primary command buffer must not have an occlusion query active. VkCommandBufferInheritanceInfo.prototype.queryFlags VkQueryControlFlagBits 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. If this value includes the VK_QUERY_CONTROL_PRECISE_BIT bit, then the active query can return boolean results or actual sample counts. If this bit is not set, then the active query must not use the VK_QUERY_CONTROL_PRECISE_BIT bit. VkCommandBufferInheritanceInfo.prototype.pipelineStatistics VkQueryPipelineStatisticFlagBits is a bitmask of VkQueryPipelineStatisticFlagBits specifying the set of pipeline statistics that can be counted by an active query in the primary command buffer when this secondary command buffer is executed. If this value includes a given bit, then this command buffer can be executed whether the primary command buffer has a pipeline statistics query active that includes this bit or not. If this value excludes a given bit, then the active pipeline statistics query must not be from a query pool that counts that statistic. Default Properties VkCommandBufferInheritanceInfo.prototype.memoryBuffer ArrayBuffer Native memory reference of the structure. VkCommandBufferInheritanceInfo.memoryLayout Object Object describing the structure's memory layout. VkCommandBufferInheritanceInfo.byteLength Number Total native byte length of the structure. Internal Properties These properties are mainly used by nvk internally. VkCommandBufferInheritanceInfo.reset Resets the native memory of the structure. VkCommandBufferInheritanceInfo.flush Writes the structure's data into the native memory. VkCommandBufferInheritanceInfo.reflect Synchronizes the structure's data with the native memory.