RenderEvents

RenderEvents
Scaleform::Render::RenderEvents
Declaration
class RenderEvents;
Description

A platform independent render event interface for signaling GPU events in different tools. Instead of having multiple RenderEvent objects, there is a single RenderEvents object, which encapsulates all render events . This is required for software deferred contexts (eg. D3D9/GL), because otherwise the events cannot be easily recorded and played back, thus not appearing in the correct position within the capture.

Methods
Method 
Description 
Begins rendering of the events. 
End 
Ends the rendering of event. 
Completes rendering of frame and checks for render events that has outstanding Begin calls on the frame. 
Returns the number of outstanding Begin calls on the RenderEvents. 
RenderEvents constructor. 
Sets the flag to disable GPU render events used in GPU profiling tools. 
File

Render_Events.h