TextureShader.SetValue Method

Language:

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.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.