Device.SetPixelShaderConstant Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Sets a pixel shader constant.
Definition
Visual Basic .NET |
Public Sub SetPixelShaderConstant( _ ByVal startRegister As Integer, _ ByVal constantData() As Single _ ) |
C# |
public void SetPixelShaderConstant( int startRegister, float[] constantData ); |
Managed C++ |
public: void SetPixelShaderConstant( int startRegister, float constantData __gc[] ); |
JScript .NET |
public function SetPixelShaderConstant( startRegister : int, constantData : float[] ); |
Parameters
Remarks
Exceptions
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
© 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