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 lists the meanings of the elements in TVertexFormat:

Value Meaning

vfVertex

Only the vertex.

vfNormal

Specifies that the vertex will include a normal vector.

vfDiffuse

Specifies that the vertex will include a color diffusing mechanism.

vfSpecular

Specifies that the vertex will include a specular color.

vfTexCoord0

Specifies that the vertex will not have a texture coordinate set.

vfTexCoord1

Specifies that the vertex will have one texture coordinate set.

vfTexCoord2

Specifies that the vertex will have two texture coordinate sets.

vfTexCoord3

Specifies that the vertex will have three texture coordinate sets.

See Also