FMX.Types3D.TContext3D.CreateFromWindow
Delphi
constructor CreateFromWindow(const AParent: TWindowHandle; const AWidth, AHeight: Integer;
const AMultisample: TMultisample; const ADepthStencil: Boolean); virtual;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | protected | FMX.Types3D.pas | FMX.Types3D | TContext3D |
Description
Creates a 3D context from a given FMX window handle. Do not call CreateFromWindow directly in applications.
The AWidth
and AHeight
parameters specify the width and height of the created 3D context.
The AMultisample
parameter specifies the value of the antialiasing to use on the created 3D context.
The ADepthStencil
parameter specifies whether to create depth stencil surfaces in a call to CreateBuffer.