Struct ash::vk::definitions::RenderingAttachmentInfo
source · #[repr(C)]pub struct RenderingAttachmentInfo<'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 ()>,
}
Expand description
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>
impl<'a> RenderingAttachmentInfo<'a>
pub fn image_view(self, image_view: ImageView) -> Self
pub fn image_layout(self, image_layout: ImageLayout) -> Self
pub fn resolve_mode(self, resolve_mode: ResolveModeFlags) -> Self
pub fn resolve_image_view(self, resolve_image_view: ImageView) -> Self
pub fn resolve_image_layout(self, resolve_image_layout: ImageLayout) -> Self
pub fn load_op(self, load_op: AttachmentLoadOp) -> Self
pub fn store_op(self, store_op: AttachmentStoreOp) -> Self
pub fn clear_value(self, clear_value: ClearValue) -> Self
Trait Implementations§
source§impl<'a> Clone for RenderingAttachmentInfo<'a>
impl<'a> Clone for RenderingAttachmentInfo<'a>
source§fn clone(&self) -> RenderingAttachmentInfo<'a>
fn clone(&self) -> RenderingAttachmentInfo<'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 Debug for RenderingAttachmentInfo<'_>
impl Debug for RenderingAttachmentInfo<'_>
source§impl Default for RenderingAttachmentInfo<'_>
impl Default for RenderingAttachmentInfo<'_>
source§impl<'a> TaggedStructure for RenderingAttachmentInfo<'a>
impl<'a> TaggedStructure for RenderingAttachmentInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::RENDERING_ATTACHMENT_INFO
impl<'a> Copy for RenderingAttachmentInfo<'a>
impl Send for RenderingAttachmentInfo<'_>
impl Sync for RenderingAttachmentInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for RenderingAttachmentInfo<'a>
impl<'a> RefUnwindSafe for RenderingAttachmentInfo<'a>
impl<'a> Unpin for RenderingAttachmentInfo<'a>
impl<'a> UnwindSafe for RenderingAttachmentInfo<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)