ShaderConstantTable.Size Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center