Struct kiss3d::resource::Texture [] [src]

pub struct Texture { /* fields omitted */ }

A gpu texture. It contains the texture id provided by opengl and is automatically released.

Methods

impl Texture
[src]

Allocates a new texture on the gpu. The texture is not configured.

The opengl-provided texture id.

Trait Implementations

impl Drop for Texture
[src]

A method called when the value goes out of scope. Read more