ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Gfx::TextureSet Class Reference

A collection of textures referenced by their names. More...

#include <texture.h>

Collaboration diagram for Stark::Gfx::TextureSet:

List of all members.

Public Member Functions

 TextureSet ()
 ~TextureSet ()
void addTexture (const Common::String &name, Texture *texture)
 Add a texture to the set.
const TexturegetTexture (const Common::String &name) const
 Retrieve a texture from the set.

Private Types

typedef Common::HashMap
< Common::String, Texture
*, Common::IgnoreCase_Hash,
Common::IgnoreCase_EqualTo
TextureMap

Private Attributes

TextureMap _texMap

Detailed Description

A collection of textures referenced by their names.

Definition at line 83 of file texture.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Stark::Gfx::TextureSet::TextureSet (  ) 

Definition at line 38 of file texture.cpp.

Stark::Gfx::TextureSet::~TextureSet (  ) 

Definition at line 41 of file texture.cpp.


Member Function Documentation

void Stark::Gfx::TextureSet::addTexture ( const Common::String name,
Texture texture 
)

Add a texture to the set.

Definition at line 47 of file texture.cpp.

const Texture * Stark::Gfx::TextureSet::getTexture ( const Common::String name  )  const

Retrieve a texture from the set.

Definition at line 55 of file texture.cpp.


Member Data Documentation

Definition at line 101 of file texture.h.


The documentation for this class was generated from the following files:


Generated on Sat Jul 20 2019 05:03:33 for ResidualVM by doxygen 1.7.1
curved edge   curved edge