Share via


SamplerStateManager.ElementIndex Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the element index to use when an element with multiple textures is assigned to the sampler.

Definition

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

Property Value

System.Int32
Integer that represents the element index to set or retrieve.

This property is read/write. 

Remarks

The default value is 0.