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 * > 
TextureMap

Private Attributes

TextureMap _texMap

Detailed Description

A collection of textures referenced by their names.

Definition at line 83 of file engines/stark/gfx/texture.h.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Definition at line 38 of file engines/stark/gfx/texture.cpp.

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

Definition at line 41 of file engines/stark/gfx/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 engines/stark/gfx/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 engines/stark/gfx/texture.cpp.


Member Data Documentation


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


Generated on Sat May 18 2019 05:07:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge