Struct freetypegl::TextureAtlas [−][src]
pub struct TextureAtlas { /* fields omitted */ }
Implementations
impl TextureAtlas
[src]
impl TextureAtlas
[src]pub fn width(&self) -> usize
[src]
Width (in pixels) of the underlying texture
pub fn height(&self) -> usize
[src]
Height (in pixels) of the underlying texture
pub fn depth(&self) -> usize
[src]
Depth (in bytes) of the underlying texture
pub fn used(&self) -> usize
[src]
Allocated surface size
pub fn id(&self) -> u32
[src]
Texture identity (OpenGL)
pub fn data(&self) -> &[u8]
[src]
Atlas data