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. | |
ReportCommandBuffersRecorded | Increases the CommandBuffersRecordedCount. This method is thread safe and can be called from any thread. | |
ReportDrawCalls | Increases the DrawCallsCount by one, DrawnIndicesCount by drawnIndicesCount, DrawnVerticesCount by drawnVerticesCount, VertexBuffersChangesCount by vertexBuffersChangesCount, IndexBuffersChangesCount by indexBuffersChangesCount and DescriptorSetChangesCount by descriptorSetChangesCount. This method is thread safe and can be called from any thread. | |
ReportFrameCopyTime | ReportFrameCopyTime method can be called to report time that is needed to copy the frame by the user. | |
ReportOneDrawCall | Increases the DrawCallsCount by one, DrawnIndicesCount by drawnIndicesCount, DrawnVerticesCount by drawnVerticesCount, VertexBuffersChangesCount by vertexBuffersChangesCount, IndexBuffersChangesCount by indexBuffersChangesCount and DescriptorSetChangesCount by descriptorSetChangesCount. This method is thread safe and can be called from any thread. | |
ReportPipelineChanges | Increases the PipelineChangesCount by the pipelineChangesCount (1 by default). This method is thread safe and can be called from any thread. | |
ReportUpdatedBuffers | Increases the UpdatedBuffersCount by the updatedBuffersCount (1 by default). This method is thread safe and can be called from any thread. | |
ResetTimerValues | Sets all timer values to 0 | |
StartNewFrame | StartNewFrame resets all the values in RenderingStatistics and start timer for new frame. |