Struct adi_gpu::Texture [] [src]

pub struct Texture { /* fields omitted */ }

A texture on the GPU.

Methods

impl Texture
[src]

[src]

Create a new texture.

[src]

Create an empty texture.

[src]

Set the pixels for the texture.

[src]

Get the width

[src]

Get the height

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