Microsoft DirectX 9.0 SDK Update (October 2004)

Device.SetVertexShaderConstant Method

Language:

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

Sets a vertex shader constant.

Definition

Visual Basic .NET Public Sub SetVertexShaderConstant( _
    ByVal startRegister As Integer, _
    ByVal constantData() As Matrix _
)
C# public void SetVertexShaderConstant(
    int startRegister,
    Matrix[] constantData
);
Managed C++ public: void SetVertexShaderConstant(
    int startRegister,
    Matrix constantData __gc[]
);
JScript .NET public function SetVertexShaderConstant(
    startRegister : int,
    constantData : Matrix[]
);

Parameters

startRegister System.Int32. Register number that contains the first constant value.
constantData Microsoft.DirectX.Matrix[]. Array of Matrix constants.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


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

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center