|
Nebula
|
#include <graphicsfeatureunit.h>
Sets up the core rendering system and provides properties and managers for default usage, such as rendering models, animations, particles, etc.
Inherits Game::FeatureUnit.
Classes | |
| struct | TerrainInstance |
Private Member Functions | |
| __DeclareClass(GraphicsFeatureUnit) __DeclareSingleton(GraphicsFeatureUnit) public | ~GraphicsFeatureUnit () |
| destructor | |
| void | OnAttach () override |
| called from GameServer::AttachGameFeature() | |
| void | OnActivate () override |
| Called upon activation of feature unit. | |
| void | OnDeactivate () override |
| Called upon deactivation of feature unit. | |
| void | OnBeginFrame () override |
| called on begin of frame | |
| void | OnBeforeViews () override |
| Called before views. | |
| void | OnFrame () override |
| called in the middle of the feature trigger cycle | |
| void | OnEndFrame () override |
| called at the end of the feature trigger cycle | |
| void | OnRenderDebug () override |
| called when game debug visualization is on | |
| void | SetWindowTitle (const Util::StringAtom &title) |
| Set window title. | |
| void | SetGraphicsDebugging (bool value) |
| Set Graphics Debugging on/off. | |
| Ptr< Graphics::View > | GetDefaultView () const |
| retrieve the default view | |
| Ptr< Graphics::Stage > | GetDefaultStage () const |
| retrieve the default stage | |
| ViewHandle | GetDefaultViewHandle () const |
| retrieve the default view handle | |
| void | SetFrameScript (IO::URI const &uri) |
| set framescript. must be done before OnActivate! | |
| void | SetupTerrainBiome (const Terrain::BiomeSettings &biomeParameters) |
| Setup terrain biome, run before OnActivate. | |
Additional Inherited Members | |
Public Member Functions inherited from Core::RefCounted | |
| RefCounted () | |
| constructor | |
| int | GetRefCount () const |
| get the current refcount | |
| void | AddRef () |
| increment refcount by one | |
| void | Release () |
| decrement refcount and destroy object if refcount is zero | |
| bool | IsInstanceOf (const Rtti &rtti) const |
| return true if this object is instance of given class | |
| bool | IsInstanceOf (const Util::String &className) const |
| return true if this object is instance of given class by string | |
| bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
| return true if this object is instance of given class by fourcc | |
| bool | IsA (const Rtti &rtti) const |
| return true if this object is instance of given class, or a derived class | |
| bool | IsA (const Util::String &rttiName) const |
| return true if this object is instance of given class, or a derived class, by string | |
| bool | IsA (const Util::FourCC &rttiFourCC) const |
| return true if this object is instance of given class, or a derived class, by fourcc | |
| const Util::String & | GetClassName () const |
| get the class name | |
| Util::FourCC | GetClassFourCC () const |
| get the class FourCC code | |
Static Public Member Functions inherited from Core::RefCounted | |
| static void | DumpRefCountingLeaks () |
| dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!) | |
Protected Member Functions inherited from Core::RefCounted | |
| virtual | ~RefCounted () |
| destructor (called when refcount reaches zero) | |
Protected Attributes inherited from Game::FeatureUnit | |
| Util::Array< Ptr< Manager > > | managers |
| bool | active |
| Util::CommandLineArgs | args |
| cmdline args for configuration from cmdline | |
|
private |
destructor
|
inlineprivate |
retrieve the default stage
|
inlineprivate |
retrieve the default view
|
inlineprivate |
retrieve the default view handle
|
overrideprivatevirtual |
Called upon activation of feature unit.
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
called from GameServer::AttachGameFeature()
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
Called before views.
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
called on begin of frame
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
Called upon deactivation of feature unit.
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
called at the end of the feature trigger cycle
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
called in the middle of the feature trigger cycle
Reimplemented from Game::FeatureUnit.
|
overrideprivatevirtual |
called when game debug visualization is on
Reimplemented from Game::FeatureUnit.
|
inlineprivate |
set framescript. must be done before OnActivate!
|
inlineprivate |
Set Graphics Debugging on/off.
|
private |
Setup terrain biome, run before OnActivate.
|
inlineprivate |
Set window title.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |