FMX.Types3D.TContextManager.CreateFromWindow

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function CreateFromWindow(const AParent: TWindowHandle; const AWidth, AHeight: Integer;  const AMultisample: TMultisample; const ADepthStencil: Boolean): TContext3D;

C++

__classmethod TContext3D* __fastcall CreateFromWindow(Fmx::Types::TWindowHandle* const AParent, const int AWidth, const int AHeight, const TMultisample AMultisample, const bool ADepthStencil);

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TContextManager

説明

指定されたウィンドウ ハンドルから、3D コンテキストを作成します。

AParent は、ウィンドウ ハンドルを示します。

AWidth パラメータおよび AHeight パラメータには、作成される 3D コンテキストの幅と高さを指定します。

AMultisample パラメータには、作成した 3D コンテキストに対して使用するアンチエイリアスの値を指定します。

ADepthStencil パラメータは、CreateBuffer への呼び出しの中で、深度ステンシル サーフェイスを作成するかどうかを示します。

関連項目