Device.GetPixelShaderInt32Constant Method |
Language: |
Retrieves an integer shader constant.
Visual Basic Public Function GetPixelShaderInt32Constant( _
ByVal startRegister As Integer, _
ByVal constantCount As Integer _
) As Integer()C# public int[] GetPixelShaderInt32Constant(
int startRegister,
int constantCount
);C++ public:
array<int>^ GetPixelShaderInt32Constant(
int startRegister,
int constantCount
);JScript public function GetPixelShaderInt32Constant(
startRegister : int,
constantCount : int
) : int[];
startRegister System.Int32
Register number that contains the first constant value.constantCount System.Int32
Number of four-integer vectors in the array of constants.
System.Int32[]
Array of 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