TextureShader.SetValue Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets the constant table with the data in the buffer.

Definition

Visual Basic .NET 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
);
Managed C++ public: void SetValue(
    EffectHandle *constant,
    void data,
    int dataSize
);
JScript .NET 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.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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