FMX.Types3D.TContext3D.DrawPrimitives
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 は、次のパラメータを取ります:
パラメータ | 意味 |
---|---|
|
描画されるプリミティブの種類。 |
|
頂点データへのポインタ。 |
|
インデックス データへのポインタ。. |
|
頂点の定義。 |
|
バッファ内の頂点のサイズ。 |
|
バッファ内の頂点の数。 |
|
バッファ内のインデックスのサイズ。 |
|
バッファ内のインデックスの数。 |
|
描画に使用されるマテリアル |
|
描画で使用される不透明度。 |