Graphics::cLayerGroup class

An implementation of ILayer that renders a sequence of layers.

Base classes

class ILayer
This interfaces defines a layer that is rendered every game loop, by callings its ILayer::DrawLayer() method.
class IVirtual
A default interface that provides a virtual destructor, it should only be used internally.

Constructors, destructors, conversion operators

cLayerGroup()

Public functions

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

Function documentation

void Graphics::cLayerGroup::DrawLayer(int flags, int layerIndex, App::cViewer** viewers, RenderStatistics& statistics) override

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