Device.SetVertexShaderConstant Method |
Language: |
Sets a vertex shader constant.
Visual Basic Public Sub SetVertexShaderConstant( _
ByVal startRegister As Integer, _
ByVal constantData() As Vector4 _
)C# public void SetVertexShaderConstant(
int startRegister,
Vector4[] constantData
);C++ public:
void SetVertexShaderConstant(
int startRegister,
array<Vector4>^ constantData
);JScript public function SetVertexShaderConstant(
startRegister : int,
constantData : Vector4[]
);
startRegister System.Int32
Register number that contains the first constant value.constantData Microsoft.DirectX.Vector4[]
Array of Vector4 constants.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center