Device.SetPixelShaderConstant(Int32,Int32[]) Method (Microsoft.DirectX.Direct3D)
Sets a pixel shader constant.
Definition
Visual Basic Public Sub SetPixelShaderConstant( _
ByVal startRegister As Integer, _
ByVal constantData() As Integer _
)C# public void SetPixelShaderConstant(
int startRegister,
int[] constantData
);C++ public:
void SetPixelShaderConstant(
int startRegister,
array<int>^ constantData
);JScript public function SetPixelShaderConstant(
startRegister : int,
constantData : int[]
);
Parameters
startRegister System.Int32
Register number that contains the first constant value.constantData System.Int32[]
Array of Int32 constants.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.