[][src]Trait web_glitz::rendering::AsMultisampleAttachment

pub trait AsMultisampleAttachment {
    type SampleFormat: InternalFormat + Multisamplable;
    fn as_multisample_attachment(
        &mut self
    ) -> MultisampleAttachment<'_, Self::SampleFormat>; }

Trait implemented for image references that can be attached to a multisample render target.

See also [MultisampleRenderTargetDescriptor].

Associated Types

type SampleFormat: InternalFormat + Multisamplable

The type of image storage format the image is stored in.

Loading content...

Required methods

fn as_multisample_attachment(
    &mut self
) -> MultisampleAttachment<'_, Self::SampleFormat>

Converts the image reference into a render target attachment.

Loading content...

Implementations on Foreign Types

impl<'a, T> AsMultisampleAttachment for &'a mut T where
    T: AsMultisampleAttachment
[src]

Loading content...

Implementors

impl<F> AsMultisampleAttachment for Renderbuffer<Multisample<F>> where
    F: RenderbufferFormat + Multisamplable + 'static, 
[src]

impl<I> AsMultisampleAttachment for Extended<I> where
    I: AsMultisampleAttachment
[src]

Loading content...