Trait TextureSink

Source
pub trait TextureSink {
    // Required method
    fn write_texture(&mut self, texture: &Texture<'_>) -> Result<(), KtxError>;
}
Expand description

A sink of Textures, e.g. something they can be written to.

Required Methods§

Source

fn write_texture(&mut self, texture: &Texture<'_>) -> Result<(), KtxError>

Attempts to write texture to self.

Implementors§

Source§

impl<'a, T: RWSeekable + ?Sized + 'a> TextureSink for StreamSink<'a, T>