Record TRenderStatistics
Unit
CastleTransform
Declaration
type TRenderStatistics = record
Description
Statistics about what was rendered during last frame. You will usually access this by viewport property, see TCastleViewport.Statistics.
Overview
Fields
Methods
Description
Fields
|
ShapesRenderedBlending: Cardinal; |
Subset of shapes counted in ShapesRendered that have been rendered using blending (partial transparency).
|
|
BoxesOcclusionQueriedCount: Cardinal; |
The number of shapes that were not rendered, but their bounding box was rendered to check occlusion culling. This is always zero when not using occlusion culling (TCastleViewport.OcclusionCulling). Basically, this measures the "invisible overhead" of occlusion culling.
|
|
ScenesRendered: Cardinal; |
TCastleScene rendered vs all visible.
|
|
ScenesVisible: Cardinal; |
TCastleScene rendered vs all visible.
|
|
DrawCalls: Cardinal; |
Draw calls done, in case of OpenGL this literally counts the number of calls to glDrawElements and glDrawArrays.
|
Methods
|
function ToString: String; |
Present the statistics information as a string (without any newlines). Display it e.g. by assigning to TCastleLabel.Caption.
|
Generated by PasDoc 0.16.0-snapshot.