#include <LampGraphics.h>
Static Public Member Functions | |
| void | initialize () |
| 初期化 | |
| bool | initializeDevice (HWND windowHandle, bool startFullscreen) |
| デバイスの初期化 | |
| void | finalize () |
| 後始末 | |
| void | setDeviceSelector (GraphicsDeviceSelector *selector) |
| グラフィックスデバイスセレクタの設定 | |
| GraphicsDeviceSelector * | getDeviceSelector () |
| グラフィックスデバイスセレクタの取得 | |
| HWND | getWindowHandle () |
| ウィンドウハンドルの取得 | |
| Direct3D * | getDirect3D () |
| Direct3Dの取得. | |
| Direct3DDevice * | getDirect3DDevice () |
| Direct3Dデバイスの取得. | |
| void | addDeviceObjectHolder (GraphicsDeviceObjectHolder *objectHolder) |
| デバイスオブジェクトホルダの追加 | |
| void | removeDeviceObjectHolder (GraphicsDeviceObjectHolder *objectHolder) |
| デバイスオブジェクトホルダの削除 | |
| int | getDeviceObjectHolderCount () |
| デバイスオブジェクトホルダ数の取得 | |
| GraphicsDeviceObjectHolder * | getDeviceObjectHolder (int index) |
| デバイスオブジェクトホルダの取得 | |
| Scene * | createScene (const String &name) |
| シーンの作成 | |
| void | destroyScene (Scene *scene) |
| シーンの破棄 | |
| int | getSceneCount () |
| シーン数の取得 | |
| Scene * | getScene (int index) |
| シーンの取得 | |
| Scene * | search (String name) |
| シーンの検索 | |
Static Protected Member Functions | |
| LRESULT | windowProcedure (HWND windowHandle, u_int message, WPARAM wParam, LPARAM lParam) |
| ウィンドウプロシージャ | |
| void | deviceReset () |
| デバイスがリセットされた | |
| bool | initializeDeviceObjects () |
| デバイスオブジェクトの初期化 | |
| void | deleteDeviceObjects () |
| デバイスオブジェクトの削除 | |
| bool | restoreDeviceObjects () |
| デバイスオブジェクトのリストア | |
| void | invalidateDeviceObjects () |
| デバイスオブジェクトの無効化 | |
Friends | |
| class | LampCore |
| class | GraphicsDevice |
Definition at line 48 of file LampGraphics.h.
|
|
デバイスオブジェクトホルダの追加
Definition at line 114 of file LampGraphics.h. References Lamp::ArrayList< GraphicsDeviceObjectHolder * >::add(). Referenced by createScene(). |
|
|
シーンの作成
Definition at line 220 of file LampGraphics.cpp. References Lamp::ArrayList< Scene * >::add(), addDeviceObjectHolder(), ErrorOut, Lamp::String::getBytes(), Lamp::String::getSize(), NULL, Lamp::HashMap< String, Scene * >::put(), and search(). |
|
|
シーンの破棄
Definition at line 240 of file LampGraphics.cpp. References Lamp::Scene::getName(), Lamp::HashMap< String, Scene * >::remove(), Lamp::ArrayList< Scene * >::removeByValue(), and removeDeviceObjectHolder(). |
|
|
デバイスオブジェクトホルダの取得
Definition at line 140 of file LampGraphics.h. References Lamp::ArrayList< GraphicsDeviceObjectHolder * >::get(). Referenced by deleteDeviceObjects(), initializeDeviceObjects(), invalidateDeviceObjects(), and restoreDeviceObjects(). |
|
|
デバイスオブジェクトホルダ数の取得
Definition at line 131 of file LampGraphics.h. References Lamp::ArrayList< GraphicsDeviceObjectHolder * >::getCount(). Referenced by deleteDeviceObjects(), initializeDeviceObjects(), invalidateDeviceObjects(), and restoreDeviceObjects(). |
|
|
グラフィックスデバイスセレクタの取得
Definition at line 86 of file LampGraphics.h. |
|
|
Direct3Dの取得.
Definition at line 99 of file LampGraphics.h. References Direct3D. |
|
|
Direct3Dデバイスの取得.
Definition at line 105 of file LampGraphics.h. References Direct3DDevice. |
|
|
シーンの取得
Definition at line 171 of file LampGraphics.h. References Lamp::ArrayList< Scene * >::get(). |
|
|
シーン数の取得
Definition at line 164 of file LampGraphics.h. References Lamp::ArrayList< Scene * >::getCount(). Referenced by finalize(). |
|
|
ウィンドウハンドルの取得
Definition at line 93 of file LampGraphics.h. |
|
||||||||||||
|
デバイスの初期化 列挙の条件設定はデバイス初期化前に行う必要がある。 デバイスセレクタの設定はデバイス初期化前に行う必要がある。
Definition at line 90 of file LampGraphics.cpp. References Assert, Lamp::GraphicsDeviceSelector::chooseDeviceSettings(), Direct3DCreate, Lamp::GraphicsDeviceEnumeration::enumerate(), ErrorOut, Lamp::GraphicsDevice::initialize(), Lamp::GraphicsDevice::initializeWindowHandle(), and NULL. |
|
|
デバイスオブジェクトの初期化
Definition at line 176 of file LampGraphics.cpp. References getDeviceObjectHolder(), getDeviceObjectHolderCount(), and Lamp::GraphicsDeviceObjectHolder::initializeGraphicsDeviceObjects(). |
|
|
デバイスオブジェクトホルダの削除
Definition at line 122 of file LampGraphics.h. References Lamp::ArrayList< GraphicsDeviceObjectHolder * >::removeByValue(). Referenced by destroyScene(). |
|
|
デバイスオブジェクトのリストア
Definition at line 195 of file LampGraphics.cpp. References getDeviceObjectHolder(), getDeviceObjectHolderCount(), and Lamp::GraphicsDeviceObjectHolder::restoreGraphicsDeviceObjects(). |
|
|
シーンの検索
Definition at line 178 of file LampGraphics.h. References Lamp::HashMap< String, Scene * >::get(). Referenced by createScene(). |
|
|
グラフィックスデバイスセレクタの設定 設定したセレクタはLampGraphicsによりdeleteされます
Definition at line 159 of file LampGraphics.cpp. References SafeDelete. |
|
||||||||||||||||||||
|
ウィンドウプロシージャ
Definition at line 152 of file LampGraphics.cpp. References Lamp::GraphicsDevice::windowProcedure(). |
1.3.2