Share via


EffectStateManager.SetPixelShaderConstantBoolean(Int32,GraphicsStream,Int32) Method (Microsoft.DirectX.Direct3D)

Sets an array of pixel shader Boolean constants.

Definition

Visual Basic MustOverride Public Sub SetPixelShaderConstantBoolean( _
    ByVal registerIndex As Integer, _
    ByVal constantData As GraphicsStream, _
    ByVal registerCount As Integer _
)
C# public abstract void SetPixelShaderConstantBoolean(
    int registerIndex,
    GraphicsStream constantData,
    int registerCount
);
C++ public:
virtual void SetPixelShaderConstantBoolean(
    int registerIndex,
    GraphicsStreamconstantData,
    int registerCount
) abstract;
JScript public abstract function SetPixelShaderConstantBoolean(
    registerIndex : int,
    constantData : GraphicsStream,
    registerCount : int
);

Parameters

registerIndex System.Int32
The zero-based index of the first constant register.
constantData Microsoft.DirectX.GraphicsStream
A GraphicsStream object that represents an array of Boolean constants.
registerCount System.Int32
The number of registers in constantData

Remarks

SetPixelShaderConstantBoolean is a user-implemented method that is called from an effect during rendering.