FMX.Types3D.GetVertexOffset
Delphi
function GetVertexOffset(const APosition: TVertexFormat; const AFormat: TVertexFormats): Integer;
C++
extern DELPHI_PACKAGE int __fastcall GetVertexOffset(const TVertexFormat APosition, const TVertexFormats AFormat);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
Returns the vertex offset according to the vertex format.
GetVertexOffset is internally used when instantiating TVertexBuffer objects.