FMX.Types3D.TVertexFormat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TVertexFormat = (Vertex, Normal, Color0, Color1, Color2, Color3, ColorF0, ColorF1, ColorF2, ColorF3, TexCoord0, TexCoord1, TexCoord2, TexCoord3, BiNormal, Tangent);

C++

enum class DECLSPEC_DENUM TVertexFormat : unsigned char { Vertex, Normal, Color0, Color1, Color2, Color3, ColorF0, ColorF1, ColorF2, ColorF3, TexCoord0, TexCoord1, TexCoord2, TexCoord3, BiNormal, Tangent };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D FMX.Types3D

Description

Enumeration of vertex formats.

The following table explains the available elements in TVertexFormat:

Value Description

vfVertex

Only the vertex.

vfNormal

Specifies that the vertex includes a normal vector.

vfDiffuse

Specifies that the vertex includes a color diffusing mechanism.

vfSpecular

Specifies that the vertex includes a specular color.

vfTexCoord0*

Specifies that the vertex has a texture coordinate set.

vfTexCoord1*

Specifies that the vertex has a second texture coordinate set.

vfTexCoord2*

Specifies that the vertex has a third texture coordinate set.

vfTexCoord3*

Specifies that the vertex has a forth texture coordinate set.

*If you want to specify several texture coordinate sets, you need to do so always starting from vfTexCoord0. For example, to specify two coordinate sets you need to specify vfTexCoord0 and vfTexCoord1.

See Also