Device.GetVertexShaderSingleConstant Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Retrieves a floating-point vertex shader constant.
Definition
Visual Basic .NET |
Public Function GetVertexShaderSingleConstant( _ ByVal startRegister As Integer, _ ByVal constantCount As Integer _ ) As Single() |
C# |
public float[] GetVertexShaderSingleConstant( int startRegister, int constantCount ); |
Managed C++ |
public: float GetVertexShaderSingleConstant( int startRegister, int constantCount ) __gc[]; |
JScript .NET |
public function GetVertexShaderSingleConstant( startRegister : int, constantCount : int ) :
float[]; |
Parameters
startRegister
|
System.Int32. Register number that contains the first constant value. |
constantCount
|
System.Int32. Number of four-float vectors in the array of constants. |
Return Value
System.Single[]. Array of constants.
Remarks
Exceptions
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center