FMX.Types3D.TContext3D.Clear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Clear(const AColor: TAlphaColor); overload;
procedure Clear(const ATarget: TClearTargets; const AColor: TAlphaColor; const ADepth: single; const AStencil: Cardinal); overload;

C++

void __fastcall Clear(const System::Uitypes::TAlphaColor AColor)/* overload */;
void __fastcall Clear(const TClearTargets ATarget, const System::Uitypes::TAlphaColor AColor, const float ADepth, const unsigned AStencil)/* overload */;

Properties

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

Description

Clears this 3D context.

The Clear method is to be implemented in subclasses to allow clearing the 3D context, using the specified clear targets, color, depth, and stencil.

The color to which this context will be painted is given through the AColor parameter while the depth and stencil are given through the ADepth and AStencil parameters.

Note that the color, depth, and stencil are applied only if the ATarget parameter contains one or more of the following items: Color, Depth, and Stencil. Please refer to the TClearTarget and TClearTargets help topics for more information regarding the ATarget possible values.

See Also