pub struct MsaaPipeline { /* private fields */ }
Implementations§
Source§impl MsaaPipeline
impl MsaaPipeline
pub fn new(device: &Device, format: TextureFormat, sample_count: u32) -> Self
pub fn targets( &mut self, device: &Device, size: PhysicalSizeI32, ) -> (&TextureView, &TextureView)
pub fn render_to_target( &self, target: &TextureView, clear_color: Option<Color>, encoder: &mut CommandEncoder, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsaaPipeline
impl !RefUnwindSafe for MsaaPipeline
impl Send for MsaaPipeline
impl Sync for MsaaPipeline
impl Unpin for MsaaPipeline
impl !UnwindSafe for MsaaPipeline
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