Device.SetPixelShaderConstantBoolean Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets Boolean shader constants.

Definition

Visual Basic .NET Public Sub SetPixelShaderConstantBoolean( _
    ByVal startRegister As Integer, _
    ByVal constantData As GraphicsStream, _
    ByVal numberRegisters As Integer _
)
C# public void SetPixelShaderConstantBoolean(
    int startRegister,
    GraphicsStream constantData,
    int numberRegisters
);
Managed C++ public: void SetPixelShaderConstantBoolean(
    int startRegister,
    GraphicsStream *constantData,
    int numberRegisters
);
JScript .NET public function SetPixelShaderConstantBoolean(
    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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.