Struct wgpu_core::device::RenderPassContext
source · pub(crate) struct RenderPassContext {
pub attachments: AttachmentData<TextureFormat>,
pub sample_count: u32,
pub multiview: Option<NonZeroU32>,
}
Fields§
§attachments: AttachmentData<TextureFormat>
§sample_count: u32
§multiview: 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 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 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§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
)