Partager via


Device.Indices Property (Microsoft.DirectX.Direct3D)

Retrieves or sets index data.

Definition

Visual Basic Public Property Indices As IndexBuffer
C# public IndexBuffer Indices { get; set; }
C++ public:
property IndexBuffer^ Indices {
        IndexBuffer^ get();
        void set(IndexBuffervalue);
}
JScript public function get Indices() : IndexBuffer
public function set Indices(IndexBuffer);

Property Value

Microsoft.DirectX.Direct3D.IndexBuffer
An IndexBuffer object that represents the index data.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

Occurs if the method call is invalid. For example, a parameter might contain an invalid value.