CAST II Game Engine

   MAIN       FEATURES       SCREENSHOTS       FORUMS       MANUAL       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TPerfProfile

Unit

Cast2

Declaration

type TPerfProfile = class

Description

Engine performance profile data

Fields

 NameDescription
PublicBuffersProfileVertex/index buffers performace profile
PublicClearCallsNumber of clear calls during rendering a frame
PublicCollisionTimeCollision detection time in seconds
PublicDrawCallsNumber of draw calls (DrawIndexedPrimitive etc) in current frame
PublicFrameTimeTotal frame time in seconds
PublicFrustumCulledItemsNumber of items culled out with frustum culling in current frame
PublicFrustumPassedItemsNumber of items passed frustum culling (and probably actually drawn) in current frame
PublicPrimitivesRenderedNumber of primitives (triangles) rendered in current frame
PublicProcessTimeObjects processing time in seconds
PublicRenderTargetChangesNumber of render target changes during rendering a frame
PublicRenderTimeRendering time in seconds
PublicSortedItemsNumber of sorted items in current frame

Methods

Overview

Publicprocedure OnBuffersReset;
Publicprocedure OnFrameStart;

Description

Publicprocedure OnBuffersReset;

Sets values which should be resetted at render buffers reset

Publicprocedure OnFrameStart;

Sets values which should be zeroed-out at frame render start

Properties

Overview

Publicproperty FramesPerSecond: Single;
Publicproperty MaxFramesPerSecond: Single;
Publicproperty MinFramesPerSecond: Single;
Publicproperty PrimitivesPerSecond: Single;

Description

Publicproperty FramesPerSecond: Single;

Frame rate averaged through some time

Publicproperty MaxFramesPerSecond: Single;

Maximal averaged frame rate

Publicproperty MinFramesPerSecond: Single;

Minimal averaged frame rate

Publicproperty PrimitivesPerSecond: Single;

Number of primitives per second

Last modified: 26 Oct, 2008
Copyright (C) 2006-2008, casteng.com