pub trait TextureSource<'a> {
// Required method
fn create_texture(self) -> Result<Texture<'a>, KtxError>;
}
Expand description
A source of Texture
s.
Required Methods§
Sourcefn create_texture(self) -> Result<Texture<'a>, KtxError>
fn create_texture(self) -> Result<Texture<'a>, KtxError>
Attempts to create a new texture by consuming self
.