All Classes |Grouped Classes |Index

Class CL_TextureGroup

Texture grouping class. More...

Derived from:

None

Derived by:

None

Group:

2D (Display)

#include <ClanLib/display.h>

Class Members:

Enumerations:

TextureAllocationPolicy

Texture allocation policy.


Construction:

CL_TextureGroup

Constructs a null instance.


Attributes:

is_null

Returns true if this object is invalid.

throw_if_null

Throw an exception if this object is invalid.

get_subtexture_count

Returns the amount of sub-textures allocated in group.

get_texture_count

Returns the amount of textures used by group.

get_texture_allocation_policy

Returns the texture allocation policy.

get_texture_sizes

Returns the size of the textures used by this texture group.

get_textures

Returns the textures.


Operations:

add

Allocate space for another sub texture.

remove

Deallocate space, from a previously allocated texture.

set_texture_allocation_policy

Set the texture allocation policy.

insert_texture

Insert an existing texture into the texture group.