Struct ash::vk::RenderingAreaInfoKHR
source · #[repr(C)]pub struct RenderingAreaInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
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 _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§view_mask: u32
§color_attachment_count: u32
§p_color_attachment_formats: *const Format
§depth_attachment_format: Format
§stencil_attachment_format: Format
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> RenderingAreaInfoKHR<'a>
impl<'a> RenderingAreaInfoKHR<'a>
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
Trait Implementations§
source§impl<'a> Clone for RenderingAreaInfoKHR<'a>
impl<'a> Clone for RenderingAreaInfoKHR<'a>
source§fn clone(&self) -> RenderingAreaInfoKHR<'a>
fn clone(&self) -> RenderingAreaInfoKHR<'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 RenderingAreaInfoKHR<'a>
impl<'a> Debug for RenderingAreaInfoKHR<'a>
source§impl Default for RenderingAreaInfoKHR<'_>
impl Default for RenderingAreaInfoKHR<'_>
source§impl<'a> TaggedStructure for RenderingAreaInfoKHR<'a>
impl<'a> TaggedStructure for RenderingAreaInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::RENDERING_AREA_INFO_KHR
impl<'a> Copy for RenderingAreaInfoKHR<'a>
impl Send for RenderingAreaInfoKHR<'_>
impl Sync for RenderingAreaInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for RenderingAreaInfoKHR<'a>
impl<'a> RefUnwindSafe for RenderingAreaInfoKHR<'a>
impl<'a> Unpin for RenderingAreaInfoKHR<'a>
impl<'a> UnwindSafe for RenderingAreaInfoKHR<'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