ash::vk

Type Alias CommandBufferInheritanceRenderingInfoKHR

Source
pub type CommandBufferInheritanceRenderingInfoKHR<'a> = CommandBufferInheritanceRenderingInfo<'a>;

Aliased Type§

struct CommandBufferInheritanceRenderingInfoKHR<'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 ()>,
}

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>

Source

pub fn flags(self, flags: RenderingFlags) -> Self

Source

pub fn view_mask(self, view_mask: u32) -> Self

Source

pub fn color_attachment_formats( self, color_attachment_formats: &'a [Format], ) -> Self

Source

pub fn depth_attachment_format(self, depth_attachment_format: Format) -> Self

Source

pub fn stencil_attachment_format( self, stencil_attachment_format: Format, ) -> Self

Source

pub fn rasterization_samples( self, rasterization_samples: SampleCountFlags, ) -> Self

Trait Implementations

Source§

impl<'a> Clone for CommandBufferInheritanceRenderingInfo<'a>

Source§

fn clone(&self) -> CommandBufferInheritanceRenderingInfo<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for CommandBufferInheritanceRenderingInfo<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CommandBufferInheritanceRenderingInfo<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for CommandBufferInheritanceRenderingInfo<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::COMMAND_BUFFER_INHERITANCE_RENDERING_INFO

Source§

impl<'a> Copy for CommandBufferInheritanceRenderingInfo<'a>

Source§

impl ExtendsCommandBufferInheritanceInfo for CommandBufferInheritanceRenderingInfo<'_>

Source§

impl Send for CommandBufferInheritanceRenderingInfo<'_>

Source§

impl Sync for CommandBufferInheritanceRenderingInfo<'_>