FMX.Platform.TRenderingSetupCallback

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TRenderingSetupCallback = reference to procedure(const Sender, Context: TObject; var ColorBits, DepthBits: Integer;
var Stencil: Boolean; var Multisamples: Integer);

C++

__interface TRenderingSetupCallback  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform FMX.Platform

Description

Reference to a procedure (an anonymous method) that the rendering setup platform service uses to update rendering parameters.

Parameter Description
Sender The sender object.
Context The context object.
ColorBits

Number of bits per pixel to represent color.

If you set this value to 0, FireMonkey uses either the current number of bits or the default number of bits.

Supported values are: 0, 16, 24, 32.

DepthBits

Number of bits for the depth buffer.

If this value is set to 0, then no depth buffer is used.

Note: If you disable the depth buffer, FireMonkey may not render some 3D objects correctly.

Supported values are: 0, 16, 24, 32.

Stencil

Indicates whether FireMonkey should use a stencil buffer for rendering (True) or not (False).

Note: If you disable the stencil buffer, FireMonkey may not render some 3D objects (such as extruded text) correctly.
Multisamples The value of the antialiasing.

See Also