Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the value to the constant table.
Definition
Visual Basic 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
);C++ public:
void SetValue(
Device^ device,
EffectHandle^ constant,
array<float>^ f
);JScript public function SetValue(
device : Device,
constant : EffectHandle,
f : float[]
);
Parameters
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[]
Array of Singlevalues to set to the constant table.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
.gif)