Rendering |
The RenderingStatistics type exposes the following members.
Name | Description | |
---|---|---|
Clone | Returns a new RenderingStatistics with the same values as this RenderingStatistics. | |
Copy | Copies the values from this RenderingStatistics to targetRenderingStatistics. | |
EndFrame | EndFrame stops the timer. | |
ReportDrawCall | Increased the DrawCallsCount by one and DrawnIndicesCount by drawnIndicesCount. This method is thread safe and can be called from any thread. | |
ReportDrawCalls | Increased the DrawCallsCount by drawCallsCount and DrawnIndicesCount by drawnIndicesCount. This method is thread safe and can be called from any thread. | |
ReportStateChanges | Adds state changes statistics from the contextStatesManager. This method is automatically called from EndFrame(RenderingContext) for the main ContextStatesManager but needs to be called from the ContextStatesManager used in background threads. This method needs to be called from the main thread. | |
ResetTimerValues | Sets all timer values to 0 | |
StartNewFrame | StartNewFrame resets all the values in RenderingStatistics and start timer for new frame. |