ConstantTable.SetValue Method |
Language: |
Sets the value to the constant table.
Visual Basic Public Sub SetValue( _
ByVal device As Device, _
ByVal constant As EffectHandle, _
ByVal data As Void, _
ByVal dataSize As Integer _
)C# public void SetValue(
Device device,
EffectHandle constant,
void data,
int dataSize
);C++ public:
void SetValue(
Device^ device,
EffectHandle^ constant,
void data,
int dataSize
);JScript public function SetValue(
device : Device,
constant : EffectHandle,
data : void,
dataSize : int
);
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.data System.Void
A buffer containing the data to set.dataSize System.Int32
Number of bytes in the data buffer.
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.