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.


impl Texture

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

The opengl-provided texture id.

Trait Implementations

impl Drop for Texture

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