FMX.Types3D.TContext3D.BeginSceneCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeginSceneCount: integer read FBeginSceneCount;

C++

__property int BeginSceneCount = {read=FBeginSceneCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TContext3D

Description

The counter of successful calls to BeginScene, which are not terminated by calls to EndScene.

Each time the TContext3D object calls BeginScene and BeginScene returns True, the value of the BeginSceneCount property is increased by one. Each time the TContext3D object calls EndScene, the value of the BeginSceneCount property is decreased by one. BeginScene uses BeginSceneCount to guaranty that the TContext3D object has no more than one initialized drawing at any moment.

See Also