Microsoft DirectX 9.0 SDK Update (October 2004)

ConstantTable.SetDefaults Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets constants to their default values, which are declared in the variable declarations in the shader.

Definition

Visual Basic .NET Public Sub SetDefaults( _
    ByVal device As Device _
)
C# public void SetDefaults(
    Device device
);
Managed C++ public: void SetDefaults(
    Device *device
);
JScript .NET public function SetDefaults(
    device : Device
);

Parameters

device Microsoft.DirectX.Direct3D.Device. A Device object that represents the device associated with the constant table.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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