Trait aflak_imgui::ImTexture[][src]

pub trait ImTexture {
    fn get_id(&self) -> ImTextureID;
fn get_size(&self) -> (u32, u32); }

Trait that an object representing a texture usable by the drawing back-end should implement.

Required Methods

Query texture size, in pixels (for convenience)

Implementors