FMX.Types3D.TVertexBuffer.Create
Delphi
constructor Create(const AFormat: TVertexFormats; const ALength: Integer); virtual;
C++
__fastcall virtual TVertexBuffer(const TVertexFormats AFormat, const int ALength);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TVertexBuffer |
説明
TVertexBuffer オブジェクトを構築し、そのデータをオブジェクトが最初に使用される前に初期化します。
Create は、Buffer のメモリを、AFormat
および ALength
に応じて確保します。
AFormat
は、各頂点に対して、どの種のデータが保持されるかを示します。
ALength
は、バッファが保持される頂点の数を決定します。