Trait TextureSource

Source
pub trait TextureSource<'a> {
    // Required method
    fn create_texture(self) -> Result<Texture<'a>, KtxError>;
}
Expand description

A source of Textures.

Required Methods§

Source

fn create_texture(self) -> Result<Texture<'a>, KtxError>

Attempts to create a new texture by consuming self.

Implementors§