FMX.Types3D.TContextManager.CreateFromTexture
Delphi
class function CreateFromTexture(const ATexture: TTexture; const AMultisample: TMultisample; const ADepthStencil: Boolean): TContext3D;
C++
__classmethod TContext3D* __fastcall CreateFromTexture(TTexture* const ATexture, const TMultisample AMultisample, const bool ADepthStencil);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContextManager |
Description
Creates a 3D context from a specified texture.
ATexture specifies the window texture from which to create the 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.