Trait texture::CreateTexture
source · pub trait CreateTexture<F>: TextureOp<F> + ImageSize + Sized {
fn create<S: Into<[u32; 2]>>(
factory: &mut F,
format: Format,
memory: &[u8],
size: S,
settings: &TextureSettings
) -> Result<Self, Self::Error>;
}
Expand description
Implemented by textures for creation.