Share via


ShaderConstantInformation.DefaultValue Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the offset, in bytes, to the string that contains the default value of the shader constant.

Definition

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

Property Value

System.Int32
Integer that represents the string offset of the shader constant default value.

This property is read/write.