Share via


XFileGuid.IndexedColor Field (Microsoft.DirectX.Direct3D)

Retrieves the globally unique identifier (GUID) for indexed color.

Definition

Visual Basic Public Shared IndexedColor As GuidLeave Site
C# public static GuidLeave Site IndexedColor;
C++ public: static GuidLeave Site IndexedColor;
JScript public static var IndexedColor : GuidLeave Site

Field Value

System.Guid
A GuidLeave Site instance that contains the GUID for indexed color templates.

This field is read-only. 

Remarks

An index color template contains an index parameter and an RGBA color, and is used to define mesh vertex colors. The index defines the vertex to which the color is applied, as shown in the following example.

[C#]template IndexedColor
{
    < 1630B820-7842-11cf-8F52-0040333594A3 >
    DWORD index;
    ColorRGBA indexColor;
}

Where:

  • index - A DWORD. See the description above.
  • indexColor - A ColorRgba template.