FMX.Types3D.TContext3D.DrawPrimitives

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

Delphi

procedure DrawPrimitives(const AKind: TPrimitivesKind; const Vertices, Indices: Pointer;  const VertexDeclaration: TVertexDeclaration; const VertexSize, VertexCount, IndexSize, IndexCount: Integer; const Material: TMaterial; const Opacity: Single);

C++

void __fastcall DrawPrimitives(const TPrimitivesKind AKind, const void * Vertices, const void * Indices, const TVertexDeclaration VertexDeclaration, const int VertexSize, const int VertexCount, const int IndexSize, const int IndexCount, TMaterial* const Material, const float Opacity);

プロパティ

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


説明

パラメータによって指定されるプリミティブを描画します。

DrawPrimitives は、次のパラメータを取ります:

パラメータ 意味

AKind

描画されるプリミティブの種類。

Vertices

頂点データへのポインタ。

Indices

インデックス データへのポインタ。.

VertexDeclaration

頂点の定義。

VertexSize

バッファ内の頂点のサイズ。

VertexCount

バッファ内の頂点の数。

IndexSize

バッファ内のインデックスのサイズ。

IndexCount

バッファ内のインデックスの数。

Material

描画に使用されるマテリアル

Opacity

描画で使用される不透明度。

関連項目