Graphics::LambdaRenderable class

Base classes

class IRenderable
This interface defines an object that can be rendered, and whose render method is called on every game loop.

Public types

using Render_t = eastl::function<void(int, int, App::cViewer**, void*)>

Constructors, destructors, conversion operators


Public functions

auto AddRef() -> int override
auto Release() -> int override
void Render(int flags, int layerIndex, App::cViewer**, void*) override

Protected variables

int mnRefCount
Render_t mFunction

Function documentation

void Graphics::LambdaRenderable::Render(int flags, int layerIndex, App::cViewer**, void*) override

flags The flags this renderable was registered with, combined with the global render flags.
layerIndex The layer index this renderable was registered with.