Device.SetVertexShaderConstant(Int32,Matrix) Method (Microsoft.DirectX.Direct3D)
Sets a vertex shader constant.
Definition
Visual Basic Public Sub SetVertexShaderConstant( _
ByVal startRegister As Integer, _
ByVal constantData As Matrix _
)C# public void SetVertexShaderConstant(
int startRegister,
Matrix constantData
);C++ public:
void SetVertexShaderConstant(
int startRegister,
Matrix constantData
);JScript public function SetVertexShaderConstant(
startRegister : int,
constantData : Matrix
);
Parameters
startRegister System.Int32
Register number that contains the first constant value.constantData Microsoft.DirectX.Matrix
A pointer to a Matrix object that represents the constant data to set. Use this if your code block is marked unsafe.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.