FMX.Platform.TRenderingSetupCallback
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.
Supported values are: 0, 16, 24, 32. |
Stencil
|
Indicates whether FireMonkey should use a stencil buffer for rendering (
|
Multisamples
|
The value of the antialiasing. |