
Public Member Functions | |
| void | add (RenderListEntry *_renderable) |
| void | addModelToInit (BaseModel *model) |
| void | clear () |
| void | generateShadowMap (ONE::scene::SolidEntity *shadowCaster, TextureRef shadowMap, RenderDevice *rd, Matrix4 &lightMVP) |
| void | generateShadowMap (ONE::scene::SolidEntity *shadowCaster, RenderDevice *rd, Matrix4 &lightMVP) |
| void | generateShadowMap (RenderDevice *rd, Matrix4 &lightMVP) |
| Vector2 | getLightLookUpTexCoords (Vector3 pos) |
| void | initModels () |
| void | remove (RenderListEntry *_renderable) |
| void | render (G3D::RenderDevice *rd) |
| RenderSystem () | |
| void | RenderSystem::currentShadowCasterTest (G3D::RenderDevice *rd) |
| void | sortRenderables () |
| void | swap (int i, int j) |
| void | updateOptions () |
| void | useRenderProperties (G3D::RenderDevice *rd, const RenderProperties *rp) |
Static Public Member Functions | |
| static void | destroyInstance () |
| may be used to manually destroy the singleton instance | |
| static RenderSystem * | getInstance () |
| accesses the singleton instance | |
| static bool | isActive () |
| checks if the singleton is active | |
| static bool | isDestroyed () |
| checks if the singleton is destroyed | |
| static bool | isVirgin () |
| checks if the singleton has not been initialized | |
| static void | setPriority (unsigned short) |
| sets this singleton's shutdown priority | |
Public Attributes | |
| string | activeShader |
| G3D::Color3 | ambientLightColor |
| Matrix4 | biasMatrix |
| bool | clear_arrays |
| G3D::Color3 | directionalLightColor |
| G3D::Vector3 | directionalLightDir |
| float | farPlane |
| G3D::Color4 | fogColor |
| CoordinateFrame | lightCFrame |
| TextureRef | lightLookUp |
| float | lightLookUpScale |
| GFontRef | namefont |
| G3D::Array< ONE::scene::SolidEntity * > | shadowCasters |
| unsigned int | states |
Protected Types | |
| typedef util::OrderedAutomatic< RenderSystem > | Friendly |
Protected Member Functions | |
| Singleton () | |
Static Protected Member Functions | |
| static void | destroyedError () |
| static void | initInstance () |
Protected Attributes | |
| G3D::Array< RenderListEntry * > | backgroundRenderables |
| G3D::Array< ONE::scene::SolidEntity * > | currentShadowCasters |
| Matrix4 | lightMVP [4] |
| G3D::Array< RenderListEntry * > | renderables |
| Matrix4 | textureMatrix [4] |
| bool | useblur |
| bool | useshaders |
| bool | useshadowmap |
| bool | useshadowmapsmoother |
| bool | usetonemapping |
|
|
subclasses should declare this type their friend in order to allow access to ctor and dtor, as those should generally be made private. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
may be used to manually destroy the singleton instance If this function is not called, the instance is destroyed automatically during shutdown. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
accesses the singleton instance The exact operation executed by calling this function is determined by the singleton policies.
|
|
|
|
|
|
|
|
|
|
|
|
checks if the singleton is active
|
|
|
checks if the singleton is destroyed
This function returns
|
|
|
checks if the singleton has not been initialized A singleton is not initialized if no instance exists and no instance has been destroyed.
|
|
|
|
|
|
|
|
|
|
|
|
sets this singleton's shutdown priority The higher the priority, the earlier the instance will be destroyed during shutdown. If the priority is changed, the highest given priority will be used. |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3