ConstantTable.SetDefaults(Device) Method (Microsoft.DirectX.Direct3D)
Sets constants to their default values, which are declared in the variable declarations in the shader.
Visual Basic Public Sub SetDefaults( _
ByVal device As Device _
)C# public void SetDefaults(
Device device
);C++ public:
void SetDefaults(
Device^ device
);JScript public function SetDefaults(
device : Device
);
device Microsoft.DirectX.Direct3D.Device
A Device object that represents the device associated with the constant table.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Show: