[][src]Trait web_glitz::rendering::BlitSource

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

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

See Framebuffer::blit_color_nearest_command and Framebuffer::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) -> BlitSourceDescriptor

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

Loading content...

Implementors

impl<'a, F> BlitSource for Texture2DLevel<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for Texture2DLevelSubImage<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for Texture2DArrayLevelLayer<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for Texture2DArrayLevelLayerSubImage<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for Texture3DLevelLayer<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for Texture3DLevelLayerSubImage<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for TextureCubeLevelFace<'a, F> where
    F: TextureFormat + 'static, 
[src]

impl<'a, F> BlitSource for TextureCubeLevelFaceSubImage<'a, F> where
    F: TextureFormat + 'static, 
[src]

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

Loading content...