Struct ash::vk::CommandBufferInheritanceRenderingInfo
source · #[repr(C)]pub struct CommandBufferInheritanceRenderingInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: RenderingFlags,
pub view_mask: u32,
pub color_attachment_count: u32,
pub p_color_attachment_formats: *const Format,
pub depth_attachment_format: Format,
pub stencil_attachment_format: Format,
pub rasterization_samples: SampleCountFlags,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: RenderingFlags
§view_mask: u32
§color_attachment_count: u32
§p_color_attachment_formats: *const Format
§depth_attachment_format: Format
§stencil_attachment_format: Format
§rasterization_samples: SampleCountFlags
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CommandBufferInheritanceRenderingInfo<'a>
impl<'a> CommandBufferInheritanceRenderingInfo<'a>
pub fn flags(self, flags: RenderingFlags) -> Self
pub fn view_mask(self, view_mask: u32) -> Self
pub fn color_attachment_formats( self, color_attachment_formats: &'a [Format], ) -> Self
pub fn depth_attachment_format(self, depth_attachment_format: Format) -> Self
pub fn stencil_attachment_format( self, stencil_attachment_format: Format, ) -> Self
pub fn rasterization_samples( self, rasterization_samples: SampleCountFlags, ) -> Self
Trait Implementations§
source§impl<'a> Clone for CommandBufferInheritanceRenderingInfo<'a>
impl<'a> Clone for CommandBufferInheritanceRenderingInfo<'a>
source§fn clone(&self) -> CommandBufferInheritanceRenderingInfo<'a>
fn clone(&self) -> CommandBufferInheritanceRenderingInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for CommandBufferInheritanceRenderingInfo<'a>
impl<'a> Debug for CommandBufferInheritanceRenderingInfo<'a>
source§impl Default for CommandBufferInheritanceRenderingInfo<'_>
impl Default for CommandBufferInheritanceRenderingInfo<'_>
source§impl<'a> TaggedStructure for CommandBufferInheritanceRenderingInfo<'a>
impl<'a> TaggedStructure for CommandBufferInheritanceRenderingInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COMMAND_BUFFER_INHERITANCE_RENDERING_INFO
impl<'a> Copy for CommandBufferInheritanceRenderingInfo<'a>
impl ExtendsCommandBufferInheritanceInfo for CommandBufferInheritanceRenderingInfo<'_>
impl Send for CommandBufferInheritanceRenderingInfo<'_>
impl Sync for CommandBufferInheritanceRenderingInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for CommandBufferInheritanceRenderingInfo<'a>
impl<'a> RefUnwindSafe for CommandBufferInheritanceRenderingInfo<'a>
impl<'a> Unpin for CommandBufferInheritanceRenderingInfo<'a>
impl<'a> UnwindSafe for CommandBufferInheritanceRenderingInfo<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more