Device.SetPixelShaderConstantInt32(Int32,GraphicsStream,Int32) Method (Microsoft.DirectX.Direct3D)

Sets integer shader constants.

Definition

Visual Basic Public Sub SetPixelShaderConstantInt32( _
    ByVal startRegister As Integer, _
    ByVal constantData As GraphicsStream, _
    ByVal numberRegisters As Integer _
)
C# public void SetPixelShaderConstantInt32(
    int startRegister,
    GraphicsStream constantData,
    int numberRegisters
);
C++ public:
void SetPixelShaderConstantInt32(
    int startRegister,
    GraphicsStreamconstantData,
    int numberRegisters
);
JScript public function SetPixelShaderConstantInt32(
    startRegister : int,
    constantData : GraphicsStream,
    numberRegisters : int
);

Parameters

startRegister System.Int32
Register number that will contain the first constant value.
constantData Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains the shader constants to set.
numberRegisters System.Int32
Number of constants contained within constantData.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also