#include <MeshDataManager.h>
Inheritance diagram for Lamp::MeshDataManager:
Public Member Functions | |
virtual MeshData * | createMeshData (const String &meshDataName) |
メッシュデータの作成 | |
virtual bool | initializeGraphicsDeviceObjects () |
デバイスオブジェクトの初期化 | |
virtual void | deleteGraphicsDeviceObjects () |
デバイスオブジェクトの削除 | |
virtual bool | restoreGraphicsDeviceObjects () |
デバイスオブジェクトのリストア | |
virtual void | invalidateGraphicsDeviceObjects () |
デバイスオブジェクトの無効化 | |
Protected Member Functions | |
MeshDataManager (Scene *scene) | |
コンストラクタ | |
Friends | |
class | Scene |
Definition at line 37 of file MeshDataManager.h.
|
コンストラクタ
Definition at line 32 of file MeshDataManager.cpp. |
|
メッシュデータの作成 すでに同じメッシュデータ名のメッシュデータが存在するとエラーになります。 空文字列を名前に指定するとエラーになります。
Definition at line 37 of file MeshDataManager.cpp. References Lamp::SceneObjectManagerTemplate< MeshData >::addDatabase(), Lamp::SceneObjectManagerTemplate< MeshData >::checkName(), Lamp::SceneObjectManagerTemplate< MeshData >::getScene(), and NULL. Referenced by Lamp::MeshData::copy(), Lamp::TextSceneLoader::readMeshData(), and Lamp::BinarySceneLoader::readMeshData(). |
|
デバイスオブジェクトの初期化
Implements Lamp::GraphicsDeviceObjectHolder. Definition at line 45 of file MeshDataManager.cpp. References Lamp::SceneObjectManagerTemplate< MeshData >::get(), Lamp::SceneObjectManagerTemplate< MeshData >::getCount(), and Lamp::MeshData::initializeGraphicsDeviceObjects(). Referenced by Lamp::Scene::initializeGraphicsDeviceObjects(). |
|
デバイスオブジェクトのリストア
Implements Lamp::GraphicsDeviceObjectHolder. Definition at line 62 of file MeshDataManager.cpp. References Lamp::SceneObjectManagerTemplate< MeshData >::get(), Lamp::SceneObjectManagerTemplate< MeshData >::getCount(), and Lamp::MeshData::restoreGraphicsDeviceObjects(). Referenced by Lamp::Scene::restoreGraphicsDeviceObjects(). |