ash::vk

Type Alias RenderingAttachmentInfoKHR

Source
pub type RenderingAttachmentInfoKHR<'a> = RenderingAttachmentInfo<'a>;

Aliased Type§

struct RenderingAttachmentInfoKHR<'a> {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub image_view: ImageView,
    pub image_layout: ImageLayout,
    pub resolve_mode: ResolveModeFlags,
    pub resolve_image_view: ImageView,
    pub resolve_image_layout: ImageLayout,
    pub load_op: AttachmentLoadOp,
    pub store_op: AttachmentStoreOp,
    pub clear_value: ClearValue,
    pub _marker: PhantomData<&'a ()>,
}

Fields§

§s_type: StructureType§p_next: *const c_void§image_view: ImageView§image_layout: ImageLayout§resolve_mode: ResolveModeFlags§resolve_image_view: ImageView§resolve_image_layout: ImageLayout§load_op: AttachmentLoadOp§store_op: AttachmentStoreOp§clear_value: ClearValue§_marker: PhantomData<&'a ()>

Implementations

Source§

impl<'a> RenderingAttachmentInfo<'a>

Source

pub fn image_view(self, image_view: ImageView) -> Self

Source

pub fn image_layout(self, image_layout: ImageLayout) -> Self

Source

pub fn resolve_mode(self, resolve_mode: ResolveModeFlags) -> Self

Source

pub fn resolve_image_view(self, resolve_image_view: ImageView) -> Self

Source

pub fn resolve_image_layout(self, resolve_image_layout: ImageLayout) -> Self

Source

pub fn load_op(self, load_op: AttachmentLoadOp) -> Self

Source

pub fn store_op(self, store_op: AttachmentStoreOp) -> Self

Source

pub fn clear_value(self, clear_value: ClearValue) -> Self

Trait Implementations

Source§

impl<'a> Clone for RenderingAttachmentInfo<'a>

Source§

fn clone(&self) -> RenderingAttachmentInfo<'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 Debug for RenderingAttachmentInfo<'_>

Source§

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

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

impl Default for RenderingAttachmentInfo<'_>

Source§

fn default() -> Self

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

impl<'a> TaggedStructure for RenderingAttachmentInfo<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::RENDERING_ATTACHMENT_INFO

Source§

impl<'a> Copy for RenderingAttachmentInfo<'a>

Source§

impl Send for RenderingAttachmentInfo<'_>

Source§

impl Sync for RenderingAttachmentInfo<'_>