FMX.Graphics.TCanvas.BeginSceneCount
Delphi
property BeginSceneCount: integer read FBeginSceneCount;
C++
__property int BeginSceneCount = {read=FBeginSceneCount, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TCanvas |
Description
The counter of successful calls to BeginScene, which are not terminated by calls to EndScene.
Each time the TCanvas object calls BeginScene and BeginScene returns True, the value of the BeginSceneCount property is increased by one. Each time the TCanvas object calls EndScene, the value of the BeginSceneCount property is decreased by one. BeginScene uses BeginSceneCount to guaranty that the TCanvas object has no more than one initialized drawing at any moment.