Share via


ShaderConstantTable.Size Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the size of a constant.

Definition

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

Property Value

System.Int32
Integer that represents the size of the constant.

This property is read/write. 

Remarks

Shader constant information is included in a tab-delimited table of comments. All offsets are measured in bytes from the beginning of the structure. Entries in the constant table are sorted by Creator in ascending order.