Share via


ShaderTypeInformation.Elements Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the number of elements, or the array dimensions, for the shader type information.

Definition

Visual Basic Public Property Elements As Short
C# public short Elements { get; set; }
C++ public:
property short Elements {
        short get();
        void set(short value);
}
JScript public function get Elements() : short
public function set Elements(short);

Property Value

System.Int16
Integer that represents the number of elements in the array.

This property is read/write.