Struct adi::Texture[][src]

pub struct Texture(_, _, _);

A reference to an image in GPU memory.

Methods

impl Texture
[src]

Load an empty texture into gpu memory.

Load multiple texture from graphic data into gpu memory.

Get the width and height of the texture.

Set the pixels for the texture.

Auto Trait Implementations

impl Send for Texture

impl Sync for Texture