Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/Scene.h
/* Copyright (C) 2011 Wildfire Games. | /* Copyright (C) 2021 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
Show All 20 Lines | |||||
class CFrustum; | class CFrustum; | ||||
class CModel; | class CModel; | ||||
class CModelAbstract; | class CModelAbstract; | ||||
class CModelDecal; | class CModelDecal; | ||||
class CParticleEmitter; | class CParticleEmitter; | ||||
class CPatch; | class CPatch; | ||||
class CLOSTexture; | class CLOSTexture; | ||||
class CMiniMapTexture; | |||||
class CTerritoryTexture; | class CTerritoryTexture; | ||||
struct SOverlayLine; | struct SOverlayLine; | ||||
struct SOverlayTexturedLine; | struct SOverlayTexturedLine; | ||||
struct SOverlaySprite; | struct SOverlaySprite; | ||||
struct SOverlayQuad; | struct SOverlayQuad; | ||||
struct SOverlaySphere; | struct SOverlaySphere; | ||||
class SceneCollector; | class SceneCollector; | ||||
Show All 21 Lines | public: | ||||
* Return the LOS texture to be used for rendering this scene. | * Return the LOS texture to be used for rendering this scene. | ||||
*/ | */ | ||||
virtual CLOSTexture& GetLOSTexture() = 0; | virtual CLOSTexture& GetLOSTexture() = 0; | ||||
/** | /** | ||||
* Return the territory texture to be used for rendering this scene. | * Return the territory texture to be used for rendering this scene. | ||||
*/ | */ | ||||
virtual CTerritoryTexture& GetTerritoryTexture() = 0; | virtual CTerritoryTexture& GetTerritoryTexture() = 0; | ||||
/** | |||||
* Return the minimap texture to be used for rendering this scene. | |||||
*/ | |||||
virtual CMiniMapTexture& GetMiniMapTexture() = 0; | |||||
}; | }; | ||||
/** | /** | ||||
* This interface accepts renderable objects. | * This interface accepts renderable objects. | ||||
* | * | ||||
* @see Scene::EnumerateObjects | * @see Scene::EnumerateObjects | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator