Share via


AttributeRange.AttributeId Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the attribute table identifier.

Definition

Visual Basic Public Property AttributeId As Integer
C# public int AttributeId { get; set; }
C++ public:
property int AttributeId {
        int get();
        void set(int value);
}
JScript public function get AttributeId() : int
public function set AttributeId(int);

Property Value

System.Int32
An Int32Leave Site value that specifies the number used to identify the attribute table entry.

This property is read/write. 

Remarks

An attribute table is used to identify areas of the mesh that need to be drawn with different textures, render states, and materials. In addition, an application can use the attribute table to hide portions of a mesh by not drawing a given attribute identifier (attributeID) when it draws the frame. Attribute tables also can be used to identify application-defined areas of a mesh that are handled by custom code.

See Also