EffectStateManager.SetPixelShaderConstantSingle Method |
Language: |
Sets an array of pixel shader floating-point constants.
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
);
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.
SetPixelShaderConstantSingle is a user-implemented method that is called from an effect during rendering.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.