ProfileViews

ProfileViews
Scaleform::Render::ProfileViews
Declaration
class ProfileViews : public NewOverrideBase<StatRender_Mem>;
Description

ProfileViews handles overriding rendering to provide informational view, for example, scene overdraw. This functionality is enabled by defining SF_RENDERER_PROFILE.

Methods
Method 
Description 
BeginScene begins scene rendering 
Gets the overridden blend mode, based on the current view mode. 
Computes a color for a batch, used with the Batch profile mode, to display batches in distinct colors. 
Gets the overridden clear color, based on the current view mode. 
Gets the overridden color transform, based on the current view mode. 
Gets the overridden color, based on the current view mode. 
Returns true if blends requiring render targets are being cached, false otherwise. Blend caching should only be disabled for debugging purposes. 
Returns the current profile modifier. 
Returns the context of the current drawing operation. 
Gets the overridden fill type, based on the current view mode. 
Determines whether the given profile flag is enabled or disabled. 
Returns the current mode of the profile view mode. 
Returns whether the scene profiler modifies the color transform. 
Determines whether the caching of filters is enabled. 
Returns true if a cached primitive (eg. a filter) should be drawn as a simple quad, or its actual representation. 
Determines whether a flag is available (it can be achieved correctly by the current renderer). 
Determines whether a mode is available (it can be achieved correctly by the current renderer). 
ProfileViews constructor. 
Informs the profiler of a new batch being rendered. 
Sets the batch color for the next batch to be rendered. Used with batch display view. 
Gives a hint to the view to the current mode. Used with overdraw mode, to render mask primitives in a different color. 
Sets the bit-mask available of the ProfilerFlags. Intended for internal use only within InitHAL. 
Sets the bit-mask available of the ProfilerModes . Intended for internal use only within InitHAL. 
Sets the index of the batch that should be highlighted 
Sets the fills flags for the renderer. 
Sets a flag in the profiler. Note that this is not applied until the subsequent frame. 
Overwrites the flags in the profiler. Note that this is not applied until the subsequent frame. 
Sets the mode that the profiler should render. Not that this is not applied until the subsequent frame. 
Determines whether mask geometry should be rendered as regular geometry, based on the current view mode. 
File

Render_Profiler.h