set_mode
Specifies the fundamental operating mode of the TextureStagePool.
static int garbage_collect()
Releases only those TextureStages in the pool that have a reference count of exactly 1; i....
static void release_stage(TextureStage *temp)
Removes the indicated TextureStage from the pool.
static void list_contents(std::ostream &out)
Lists the contents of the TextureStage pool to the indicated output stream.
Defines the properties of a named stage of the multitexture pipeline.
static TextureStage * get_stage(TextureStage *temp)
Returns a TextureStage pointer that represents the same TextureStage described by temp,...
static void release_all_stages()
Releases all TextureStages in the pool and restores the pool to the empty state.