ProfilerHAL

ProfilerHAL
Scaleform::Render::ProfilerHAL
Declaration
template <class HALBase>
class ProfilerHAL : public HALBase;
Description

Intended to modify the behavior of the HAL, during runtime, to rendering shapes in different ways. These different methods of rendering allow the user to obtain information visually about their scene, such as the amount of overdraw, or the amount of batching happening. It also contains certain flags, which may be useful in debugging certain situations, such as the ability to disable the caching of filters. 

Each HAL must override this class to perform their specific functions related to the different modes.

Methods
Method 
Description 
Releases the resources allocated for the render HAL
Begins rendering of a display unit that potentially has its own viewport, 
Sets the next cached profile mode/flags. 
Clears a rectangle (in screen coordinates) to the given color. 
Draws a range of complex meshes. 
DrawProcessedPrimitive draws a range of pre-cached and pre-processed primitives. 
Ends rendering of a submit mask and enables its use. 
Retrieves a blend mode that will be used for rendering. 
Pops a filter draw sequence off the filter stack. 
Prepares a cacheable primitive. 
ProfilerHAL constructor. 
Passes a blend mode to the renderer that will be used for rendering. Default mode is Normal. 
Pushes a filter draw sequence on the filter stack. 
Begins rendering of a submit mask that can be used to cull other rendered contents. 
Returns whether the profile can render any of the filters contained in the FilterPrimitive
 
File

Render_Profiler.h