ConstantTable.SetDefaults Method |
Language: |
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.
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