Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::gfx::MaterialManager Class Reference

#include <MaterialManager.h>

Inheritance diagram for kge::gfx::MaterialManager:
kge::Singleton< MaterialManager >

Public Member Functions

 MaterialManager ()
 Constructor.
 ~MaterialManager ()
 Destructor.
MaterialParamsGetMaterialParam (MaterialParams *other)
 Search for the MaterialParams you passed.
- Public Member Functions inherited from kge::Singleton< MaterialManager >
 Singleton ()
 Constructor.
 ~Singleton ()
 Destructor.

Static Public Member Functions

static MaterialManager GetSingleton ()
 returns the MaterialManager
static MaterialManagerGetSingletonPtr ()
 returns the MaterialManager pointer

Protected Attributes

std::vector< MaterialParams * > m_aMatParams
 The array of created materials.

Additional Inherited Members

- Static Protected Attributes inherited from kge::Singleton< MaterialManager >
static MaterialManager * m_pSingleton

Detailed Description

Definition at line 17 of file MaterialManager.h.

Constructor & Destructor Documentation

kge::gfx::MaterialManager::MaterialManager ( )

Constructor.

kge::gfx::MaterialManager::~MaterialManager ( )

Destructor.

Member Function Documentation

MaterialParams* kge::gfx::MaterialManager::GetMaterialParam ( MaterialParams other)

Search for the MaterialParams you passed.

static MaterialManager kge::gfx::MaterialManager::GetSingleton ( )
static

returns the MaterialManager

static MaterialManager* kge::gfx::MaterialManager::GetSingletonPtr ( )
static

returns the MaterialManager pointer

Member Data Documentation

std::vector<MaterialParams*> kge::gfx::MaterialManager::m_aMatParams
protected

The array of created materials.

Definition at line 39 of file MaterialManager.h.


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