[−][src]Trait web_glitz::rendering::BlitSource
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.
Required methods
fn descriptor(&self) -> BlitSourceDescriptor
Encapsulates the information about the blit source required by the BlitCommand.
Implementors
impl<'a, F> BlitSource for Texture2DLevel<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for Texture2DLevelSubImage<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for Texture2DArrayLevelLayer<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for Texture2DArrayLevelLayerSubImage<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for Texture3DLevelLayer<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for Texture3DLevelLayerSubImage<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for TextureCubeLevelFace<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<'a, F> BlitSource for TextureCubeLevelFaceSubImage<'a, F> where
F: TextureFormat + 'static,
[src]
F: TextureFormat + 'static,
type Format = F
fn descriptor(&self) -> BlitSourceDescriptor
[src]
impl<F> BlitSource for Renderbuffer<F> where
F: RenderbufferFormat + 'static,
[src]
F: RenderbufferFormat + 'static,