Struct graphics_tree::Texture [] [src]

pub struct Texture(pub Arc<RwLock<TextureInner>>);

Simplifies some common operations on textures.

Methods

impl Texture
[src]

Edit image.

Trait Implementations

impl Clone for Texture
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ImageSize for Texture
[src]

Get the image size.

Gets the image width.

Gets the image height.

impl From<RgbaImage> for Texture
[src]

Performs the conversion.