EffectStateManager.SetPixelShaderConstantSingle(Int32,GraphicsStream,Int32) Method (Microsoft.DirectX.Direct3D)
Sets an array of pixel shader floating-point constants.
Definition
Visual Basic MustOverride Public Sub SetPixelShaderConstantSingle( _
ByVal registerIndex As Integer, _
ByVal constantData As GraphicsStream, _
ByVal registerCount As Integer _
)C# public abstract void SetPixelShaderConstantSingle(
int registerIndex,
GraphicsStream constantData,
int registerCount
);C++ public:
virtual void SetPixelShaderConstantSingle(
int registerIndex,
GraphicsStream^ constantData,
int registerCount
) abstract;JScript public abstract function SetPixelShaderConstantSingle(
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 floating-point constants.registerCount System.Int32
The number of registers in >constantData.
Remarks
SetPixelShaderConstantSingle is a user-implemented method that is called from an effect during rendering.