ConstantTable.SetValue Method |
Language: |
Sets the value to the constant table.
Visual Basic .NET Public Sub SetValue( _
ByVal device As Device, _
ByVal constant As EffectHandle, _
ByVal f As Single _
)C# public void SetValue(
Device device,
EffectHandle constant,
float f
);Managed C++ public: void SetValue(
Device *device,
EffectHandle *constant,
float f
);JScript .NET public function SetValue(
device : Device,
constant : EffectHandle,
f : float
);
device Microsoft.DirectX.Direct3D.Device. A Device object that represents the device associated with the constant table. constant Microsoft.DirectX.Direct3D.EffectHandle. An EffectHandle that represents a unique identifier of a constant. f System.Single. A Single value to set to the constant table.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Feedback? Please provide us with your comments on this topic.