Share via


TextureShader.SetValue(EffectHandle,Void,Int32) Method (Microsoft.DirectX.Direct3D)

Sets the constant table with the data in the buffer.

Definition

Visual Basic Public Sub SetValue( _
    ByVal constant As EffectHandle, _
    ByVal data As Void, _
    ByVal dataSize As Integer _
)
C# public void SetValue(
    EffectHandle constant,
    void data,
    int dataSize
);
C++ public:
void SetValue(
    EffectHandleconstant,
    void data,
    int dataSize
);
JScript public function SetValue(
    constant : EffectHandle,
    data : void,
    dataSize : int
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
data System.Void
A buffer containing the data to set.
dataSize System.Int32
Number of bytes in the data buffer.