[][src]Trait web_glitz::rendering::ResolveSource

pub unsafe trait ResolveSource {
    type Format: InternalFormat;
    fn descriptor(&self) -> ResolveSourceDescriptor;
}

Trait implemented by multisample image reference types that can serve as the image data source for a color BlitCommand on a multisample framebuffer.

See [MultisampleFramebuffer::try_blit_color_nearest_command] and [MultisampleFramebuffer::try_blit_color_linear_command].

Unsafe

The [Format] type must match the pixel format the blit source described by the [descriptor].

Associated Types

type Format: InternalFormat

The image storage format used by the source image.

Loading content...

Required methods

fn descriptor(&self) -> ResolveSourceDescriptor

Encapsulates the information about the multisample blit source required by the BlitCommand.

Loading content...

Implementors

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

Loading content...