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