Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# Lamp::TextureManager Class Reference

テクスチャマネージャ More...

`#include <TextureManager.h>`

Inheritance diagram for Lamp::TextureManager:

List of all members.

## Public Member Functions
virtual SurfaceTexture * | createSurfaceTexture (const String &textureName)
| サーフェーステクスチャの作成
## Protected Member Functions
| TextureManager (Scene *scene)
| コンストラクタ
## Friends
class | Scene

## Detailed Description

テクスチャマネージャ

Definition at line 36 of file TextureManager.h.

## Constructor & Destructor Documentation

Lamp::TextureManager::TextureManager | ( | Scene * | scene | ) | `[protected]`

  | コンストラクタ Parameters:
  scene | シーン
Definition at line 32 of file TextureManager.cpp.

## Member Function Documentation

SurfaceTexture * Lamp::TextureManager::createSurfaceTexture | ( | const String & | textureName | ) | `[virtual]`

  | サーフェーステクスチャの作成 すでに同じテクスチャ名のテクスチャが存在するとエラーになります。 空文字列を名前に指定するとエラーになります。 Parameters:
  textureName | テクスチャ名
Returns: 作成されたテクスチャ Definition at line 37 of file TextureManager.cpp. References Lamp::SceneObjectManagerTemplate< Texture >::addDatabase(), Lamp::SceneObjectManagerTemplate< Texture >::checkName(), Lamp::SceneObjectManagerTemplate< Texture >::getScene(), and NULL. Referenced by Lamp::SurfaceTexture::copySurfaceTexture(), Lamp::TextSceneLoader::readSurfaceTexture(), and Lamp::BinarySceneLoader::readSurfaceTexture().

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

- TextureManager.h
- TextureManager.cpp