[−][src]Trait texture::CreateTexture
Implemented by textures for creation.
Required methods
fn create<S: Into<[u32; 2]>>(
factory: &mut F,
format: Format,
memory: &[u8],
size: S,
settings: &TextureSettings
) -> Result<Self, Self::Error>
factory: &mut F,
format: Format,
memory: &[u8],
size: S,
settings: &TextureSettings
) -> Result<Self, Self::Error>
Create texture from memory.