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