pub struct CommandBufferInheritanceInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub render_pass: RenderPass,
pub subpass: u32,
pub framebuffer: Framebuffer,
pub occlusion_query_enable: Bool32,
pub query_flags: QueryControlFlags,
pub pipeline_statistics: QueryPipelineStatisticFlags,
/* private fields */
}Expand description
Native structure VkCommandBufferInheritanceInfo.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *const c_voidNative field pNext.
render_pass: RenderPassNative field renderPass.
subpass: u32Native field subpass.
framebuffer: FramebufferNative field framebuffer.
occlusion_query_enable: Bool32Native field occlusionQueryEnable.
query_flags: QueryControlFlagsNative field queryFlags.
pipeline_statistics: QueryPipelineStatisticFlagsNative field pipelineStatistics.
Implementations§
Source§impl<'a> CommandBufferInheritanceInfo<'a>
impl<'a> CommandBufferInheritanceInfo<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_render_pass(self, value: RenderPass) -> Self
pub fn set_render_pass(self, value: RenderPass) -> Self
Set native field renderPass without native effects.
Sourcepub fn set_subpass(self, value: u32) -> Self
pub fn set_subpass(self, value: u32) -> Self
Set native field subpass without native effects.
Sourcepub fn set_framebuffer(self, value: Framebuffer) -> Self
pub fn set_framebuffer(self, value: Framebuffer) -> Self
Set native field framebuffer without native effects.
Sourcepub fn set_occlusion_query_enable(self, value: Bool32) -> Self
pub fn set_occlusion_query_enable(self, value: Bool32) -> Self
Set native field occlusionQueryEnable without native effects.
Sourcepub fn set_query_flags(self, value: QueryControlFlags) -> Self
pub fn set_query_flags(self, value: QueryControlFlags) -> Self
Set native field queryFlags without native effects.
Sourcepub fn set_pipeline_statistics(self, value: QueryPipelineStatisticFlags) -> Self
pub fn set_pipeline_statistics(self, value: QueryPipelineStatisticFlags) -> Self
Set native field pipelineStatistics without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
§Errors
Returns a construction error for a changed structure tag or already-linked node.
Trait Implementations§
Source§impl<'a> Default for CommandBufferInheritanceInfo<'a>
impl<'a> Default for CommandBufferInheritanceInfo<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for CommandBufferInheritanceConditionalRenderingInfoEXT<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for ExternalFormatANDROID<'a>
platform-android only.impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for CommandBufferInheritanceRenderPassTransformInfoQCOM<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for CustomResolveCreateInfoEXT<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for CommandBufferInheritanceViewportScissorInfoNV<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for CommandBufferInheritanceRenderingInfo<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for AttachmentSampleCountInfoAMD<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for MultiviewPerViewAttributesInfoNVX<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for TileMemoryBindInfoQCOM<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for RenderingAttachmentLocationInfo<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for RenderingInputAttachmentIndexInfo<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for RenderPassTileShadingCreateInfoQCOM<'a>
impl<'a, 'root> Extends<CommandBufferInheritanceInfo<'root>> for ExternalFormatOHOS<'a>
platform-ohos only.