pub(crate) struct RenderPassContext {
pub attachments: AttachmentData<TextureFormat>,
pub sample_count: u32,
pub multiview_mask: Option<NonZeroU32>,
}Fields§
§attachments: AttachmentData<TextureFormat>§sample_count: u32§multiview_mask: Option<NonZeroU32>Implementations§
Source§impl RenderPassContext
impl RenderPassContext
pub(crate) fn check_compatible<T: Labeled>( &self, other: &Self, res: &T, ) -> Result<(), RenderPassCompatibilityError>
Trait Implementations§
Source§impl Clone for RenderPassContext
impl Clone for RenderPassContext
Source§fn clone(&self) -> RenderPassContext
fn clone(&self) -> RenderPassContext
Returns a duplicate 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 RenderPassContext
impl Debug for RenderPassContext
Source§impl<'de> Deserialize<'de> for RenderPassContext
impl<'de> Deserialize<'de> for RenderPassContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RenderPassContext
impl Hash for RenderPassContext
Source§impl PartialEq for RenderPassContext
impl PartialEq for RenderPassContext
Source§impl Serialize for RenderPassContext
impl Serialize for RenderPassContext
impl StructuralPartialEq for RenderPassContext
Auto Trait Implementations§
impl Freeze for RenderPassContext
impl RefUnwindSafe for RenderPassContext
impl Send for RenderPassContext
impl Sync for RenderPassContext
impl Unpin for RenderPassContext
impl UnwindSafe for RenderPassContext
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more