Struct adi_screen::Texture [] [src]

pub struct Texture(_);

A reference to an image in GPU memory.

Methods

impl Texture
[src]

[src]

Load a texture from graphic data into gpu memory.

[src]

Load an empty texture into gpu memory.

[src]

Load multiple texture from graphic data into gpu memory.

[src]

Get the width and height of the texture.

[src]

Set the pixels for the texture.

Trait Implementations

impl Copy for Texture
[src]

impl Clone for Texture
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Texture

impl Sync for Texture