Home | All Classes | Grouped Classes | Index | Search

Class CL_Texture

Construct a texture. More...

Derived from: none
Derived by: none
Group: Display (Display 2D)

#include <ClanLib/display.h>

Construction:

CL_Texture

Constructs a texture.

Attributes:

get_width

Returns the width.

get_height

Returns the height.

get_texture_width

Returns the width of the texture as stored in memory (as nearest 2^n of image size).

get_texture_height

Returns the height of the texture as stored in memory (as nearest 2^n of image size).

resource

Resource owning this texture, if any.

Operations:

operator =

Copy assignment operator.

bind

Bind the texture.

Detailed description:



Questions or comments, write to the
ClanLib mailing list.