Record TRenderStatistics
Unit
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
ShapesRendered: Cardinal; |
|
ShapesVisible: Cardinal; |
|
BoxesOcclusionQueriedCount: Cardinal; |
|
ScenesRendered: Cardinal; |
|
ScenesVisible: Cardinal; |
Methods
function ToString: String; |
Description
Fields
ShapesRendered: Cardinal; |
|
How many shapes were rendered (send to OpenGL) versus all shapes that were potentially visible. Potentially visible shapes are the ones with TShape.Visible inside a TCastleTransform with TCastleTransform.Exists. When |
ShapesVisible: Cardinal; |
|
How many shapes were rendered (send to OpenGL) versus all shapes that were potentially visible. Potentially visible shapes are the ones with TShape.Visible inside a TCastleTransform with TCastleTransform.Exists. When ShapesRendered is much smaller than |
BoxesOcclusionQueriedCount: Cardinal; |
|
The number of shapes that were not rendered, but their bounding box was rendered to check with occlusion query. This is always zero when not using occlusion query (see TCastleRenderOptions.OcclusionQuery). Basically, this measures the "invisible overhead" of occlusion query. |
ScenesRendered: Cardinal; |
|
TCastleScene rendered vs all visible. |
ScenesVisible: Cardinal; |
|
TCastleScene rendered vs all visible. |
Methods
function ToString: String; |
|
Present the statistics information as a multi-line string. Display it e.g. by assigning to TCastleLabel.Caption. |
Generated by PasDoc 0.16.0.