Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Scene Class Referenceabstract

This interface describes a scene to the renderer. More...

#include <Scene.h>

Inheritance diagram for Scene:

Public Member Functions

virtual ~Scene ()
 
virtual void EnumerateObjects (const CFrustum &frustum, SceneCollector *c)=0
 Send all objects that can be seen when rendering the given frustum to the scene collector. More...
 
virtual CLOSTextureGetLOSTexture ()=0
 Return the LOS texture to be used for rendering this scene. More...
 
virtual CTerritoryTextureGetTerritoryTexture ()=0
 Return the territory texture to be used for rendering this scene. More...
 
virtual CMiniMapTextureGetMiniMapTexture ()=0
 Return the minimap texture to be used for rendering this scene. More...
 

Detailed Description

This interface describes a scene to the renderer.

See also
CRenderer::RenderScene

Constructor & Destructor Documentation

◆ ~Scene()

virtual Scene::~Scene ( )
inlinevirtual

Member Function Documentation

◆ EnumerateObjects()

virtual void Scene::EnumerateObjects ( const CFrustum frustum,
SceneCollector c 
)
pure virtual

Send all objects that can be seen when rendering the given frustum to the scene collector.

Parameters
frustumThe frustum that will be used for rendering.
cThe scene collector that should receive objects inside the frustum that are visible.

Implemented in CGameView.

◆ GetLOSTexture()

virtual CLOSTexture & Scene::GetLOSTexture ( )
pure virtual

Return the LOS texture to be used for rendering this scene.

Implemented in CGameView.

◆ GetMiniMapTexture()

virtual CMiniMapTexture & Scene::GetMiniMapTexture ( )
pure virtual

Return the minimap texture to be used for rendering this scene.

Implemented in CGameView.

◆ GetTerritoryTexture()

virtual CTerritoryTexture & Scene::GetTerritoryTexture ( )
pure virtual

Return the territory texture to be used for rendering this scene.

Implemented in CGameView.


The documentation for this class was generated from the following file: