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