Class FrameProcessor

Class Documentation

class FrameProcessor

Singleton in charge of generating frame rendering command buffers and submitting them to the GPUManager.

Public Functions

void Start()

Start the frame processor.

Throws:
  • BadInitStateException – If the frame processor is already running

  • BadStateException – If the GPU manager is not running

void Stop()

Stop the frame processor.

Throws:

BadInitStateException – If the frame processor is not running

inline bool IsRunning() const

Check if the frame processor is running.

Returns:

Whether the frame processor is running

Public Static Functions

static FrameProcessor &Get()

Get the instance and create one if there isn’t one.

Returns:

The instance