#include <GlobalsGraphic.h>
Inheritance diagram for TGlobalsGraphic:
Static Public Member Functions | |
static BOOL | Initialize (void *wnd) |
This class initialized all static components of this class. | |
static void | Destroy (void) |
This class destroy all items (managers, renderer, etc. | |
static TRenderer * | GetRenderer (void) |
Returns actual renderer. | |
static void | SetTextureManager (TTextureManager *manager) |
Set texture manager. | |
static TTextureManager * | GetTextureManager (void) |
Returns actual texture manager. | |
static void | SetDeclarationManager (TDeclarationManager *manager) |
Set declaration manager. | |
static TDeclarationManager * | GetDeclarationManager (void) |
Returns actual declaration manager. | |
static void | SetMeshManager (TMeshManager *manager) |
Set mesh manager. | |
static TMeshManager * | GetMeshManager (void) |
Returns actual mesh manager. | |
static void | SetVertexShaderManager (TVertexShaderManager *manager) |
Set vertex shader manager. | |
static TVertexShaderManager * | GetVertexShaderManager (void) |
Returns actual vertex shader manager. | |
static void | SetPixelShaderManager (TPixelShaderManager *manager) |
Set pixel shader manager. | |
static TPixelShaderManager * | GetPixelShaderManager (void) |
Returns actual pixel shader manager. |
It is pure static class.
All GET method must always return non-NULL pointers.
You must initialize this class via TGlobalsGraphic::Initialize() and free all resources at end of application via TGlobalsGraphic::Destroy().
Definition at line 37 of file GlobalsGraphic.h.
|
This class destroy all items (managers, renderer, etc. ) allocated inside this static class.
Definition at line 131 of file GlobalsGraphic.cpp. References TRendererCreatorHelper::Destroy(), TTextureManager::DestroyTextureManager(), TGlobalsSystem::GetLogFile(), NSMath::NSStdMath::log(), TRenderer::Release(), and TRUE. Referenced by Initialize(), and WinMain(). Here is the call graph for this function: ![]() |
|
Returns actual declaration manager.
Definition at line 112 of file GlobalsGraphic.h. |
|
Returns actual mesh manager.
Definition at line 127 of file GlobalsGraphic.h. |
|
Returns actual pixel shader manager.
Definition at line 156 of file GlobalsGraphic.h. |
|
Returns actual renderer.
Definition at line 82 of file GlobalsGraphic.h. Referenced by MainLoop(). |
|
Returns actual texture manager.
Definition at line 97 of file GlobalsGraphic.h. |
|
Returns actual vertex shader manager.
Definition at line 141 of file GlobalsGraphic.h. |
|
This class initialized all static components of this class. Method returns TRUE only if all items are initialized properly. If method returns FALSE all items inside are uninitialized!!!
Definition at line 38 of file GlobalsGraphic.cpp. References TTextureManager::CreateTextureManager(), Destroy(), FALSE, TGlobalsSystem::GetLogFile(), NSMath::NSStdMath::log(), and TRUE. Referenced by WinMain(). Here is the call graph for this function: ![]() |
|
Set declaration manager.
Definition at line 105 of file GlobalsGraphic.h. |
|
Set mesh manager.
Definition at line 120 of file GlobalsGraphic.h. |
|
Set pixel shader manager.
Definition at line 149 of file GlobalsGraphic.h. |
|
Set texture manager.
Definition at line 90 of file GlobalsGraphic.h. |
|
Set vertex shader manager.
Definition at line 135 of file GlobalsGraphic.h. |