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