Share via


TextureShader.SetValue(EffectHandle,GraphicsStream) 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 GraphicsStream _
)
C# public void SetValue(
    EffectHandle constant,
    GraphicsStream data
);
C++ public:
void SetValue(
    EffectHandleconstant,
    GraphicsStreamdata
);
JScript public function SetValue(
    constant : EffectHandle,
    data : GraphicsStream
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
data Microsoft.DirectX.GraphicsStream
A GraphicsStream object the contains the texture shader constant data.