Click or drag to resize
Ab4d.SharpEngine logo

RenderingStatistics Methods

The RenderingStatistics type exposes the following members.

Methods
 NameDescription
Public methodClone Returns a new RenderingStatistics with the same values as this RenderingStatistics.
Public methodCopy Copies the values from this RenderingStatistics to targetRenderingStatistics.
Public methodEndFrame EndFrame stops the timer.
Public methodReportCommandBuffersRecorded Increases the CommandBuffersRecordedCount. This method is thread safe and can be called from any thread.
Public methodReportDrawCalls 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.
Public methodReportFrameCopyTime ReportFrameCopyTime method can be called to report time that is needed to copy the frame by the user.
Public methodReportOneDrawCall 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.
Public methodReportPipelineChanges Increases the PipelineChangesCount by the pipelineChangesCount (1 by default). This method is thread safe and can be called from any thread.
Public methodReportUpdatedBuffers Increases the UpdatedBuffersCount by the updatedBuffersCount (1 by default). This method is thread safe and can be called from any thread.
Public methodResetTimerValues Sets all timer values to 0
Public methodStartNewFrame StartNewFrame resets all the values in RenderingStatistics and start timer for new frame.
Top
See Also