FMX.Types3D.TVertexBuffer.Create
Delphi
constructor Create(const AFormat: TVertexFormats; const ALength: Integer); virtual;
C++
__fastcall virtual TVertexBuffer(const TVertexFormats AFormat, const int ALength);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TVertexBuffer |
Description
Constructs a TVertexBuffer object and initializes its data before the object is first used.
Create allocates memory for Buffer depending on AFormat
and ALength
.
AFormat
specifies what kind of data will be held for each vertex.
ALength
determines the number of vertices that the buffer will contain.