Record TDrawableImageRenderStatistics
Unit
Declaration
type TDrawableImageRenderStatistics = record
Description
Statistics to measure TDrawableImage rendering impact. Cleared at every TCastleContainer.EventRender start.
Source: base_rendering/castleglimages_drawableimage.inc (line 27).
Overview
Fields
| Public | ImageDraws: Cardinal; |
| Public | DrawCalls: Cardinal; |
Methods
| Public | function ToString: String; |
Description
Fields
| Public | ImageDraws: Cardinal; |
|
How many times TDrawableImage.Draw was called (regardless of the Count argument). Source: base_rendering/castleglimages_drawableimage.inc (line 29). | |
| Public | DrawCalls: Cardinal; |
|
Draw calls done, in case of OpenGL this literally counts the number of calls to glDrawElements and glDrawArrays. Source: base_rendering/castleglimages_drawableimage.inc (line 33). | |
Methods
| Public | function ToString: String; |
|
Present the statistics information as a string (without any newlines). Display it e.g. by assigning to TCastleLabel.Caption. Source: base_rendering/castleglimages_drawableimage.inc (line 37). | |
Generated by PasDoc 0.17.0.snapshot.