Record TDrawableImageRenderStatistics

Hierarchy
Properties

Unit

Declaration

type TDrawableImageRenderStatistics = record

Description

Statistics to measure TDrawableImage rendering impact. Cleared at every TCastleContainer.EventRender start.

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).

Public DrawCalls: Cardinal;

Draw calls done, in case of OpenGL this literally counts the number of calls to glDrawElements and glDrawArrays.

Methods

Public 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.