Device.GetPixelShaderSingleConstant(Int32,Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves a floating-point shader constant.
Visual Basic Public Function GetPixelShaderSingleConstant( _
ByVal startRegister As Integer, _
ByVal constantCount As Integer _
) As Single()C# public float[] GetPixelShaderSingleConstant(
int startRegister,
int constantCount
);C++ public:
array<float>^ GetPixelShaderSingleConstant(
int startRegister,
int constantCount
);JScript public function GetPixelShaderSingleConstant(
startRegister : int,
constantCount : int
) : float[];
startRegister System.Int32
Register number that contains the first constant value.constantCount System.Int32
Number of four-float vectors in the array of constants.
System.Single[]
Array of constants.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Show: