Share via


Device.GetVertexShaderInt32Constant(Int32,Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves an integer vertex shader constant.

Definition

Visual Basic Public Function GetVertexShaderInt32Constant( _
    ByVal startRegister As Integer, _
    ByVal constantCount As Integer _
) As Integer()
C# public int[] GetVertexShaderInt32Constant(
    int startRegister,
    int constantCount
);
C++ public:
array<int>^ GetVertexShaderInt32Constant(
    int startRegister,
    int constantCount
);
JScript public function GetVertexShaderInt32Constant(
    startRegister : int,
    constantCount : int
) : int[];

Parameters

startRegister System.Int32
Register number that contains the first constant value.
constantCount System.Int32
Number of four-integer vectors in the array of constants.

Return Value

System.Int32[]
Array of constants.

Remarks

Exceptions

InvalidCallException

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

See Also