Graphics::ILayer class

This interfaces defines a layer that is rendered every game loop, by callings its ILayer::DrawLayer() method.

Layers are rendered by the IRenderer in an ordered way, on top of each other.

Derived classes

class Anim::IAnimWorld
class Editors::cEditor
Main class for editors.
class LambdaLayer
class cLayerGroup
An implementation of ILayer that renders a sequence of layers.
class Simulator::cGameViewManager
class Skinner::cSkinPainterJob
Base class for tasks executed in the process of generating a skinpaint texture.
class Terrain::cTerrainSphere
class UI::cLayerManager

Constructors, destructors, conversion operators

~ILayer() virtual

Public functions

auto AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto DrawLayer(int flags, int layerIndex, App::cViewer** viewers, RenderStatistics& statistics) -> void pure virtual
Renders this layer.

Function documentation

void Graphics::ILayer::DrawLayer(int flags, int layerIndex, App::cViewer** viewers, RenderStatistics& statistics) pure virtual

Renders this layer.

Parameters
flags The flags this layer was registered with, combined with the global render flags.
layerIndex The layer index this layer was registered with.
viewers
statistics