This is the documentation for Enlighten.

class Enlighten Command

class Enlighten::Command

Basic interface for commands to be executed on the worker thread.

Worker thread commands can be enqueued by the rendering thread in a ring buffer, for later execution by the worker thread. The IUpdateManager interface has many Enqueue commands for convenience, but arbitrary worker thread code can be enqueued by inheriting from this interface.

Functions

Name Description
Execute(IUpdateManagerWorker *)

Function called when the command is executed, which will happen on the worker thread if one is running.


virtual void Enlighten::Command::Execute


public: virtual void Execute
(
    IUpdateManagerWorker * worker
)


Function called when the command is executed, which will happen on the worker thread if one is running.