Device.SetVertexShaderConstantSingle Method |
Language: |
Sets floating-point vertex shader constants.
Visual Basic Public Sub SetVertexShaderConstantSingle( _
ByVal startRegister As Integer, _
ByVal constantData As GraphicsStream, _
ByVal numberRegisters As Integer _
)C# public void SetVertexShaderConstantSingle(
int startRegister,
GraphicsStream constantData,
int numberRegisters
);C++ public:
void SetVertexShaderConstantSingle(
int startRegister,
GraphicsStream^ constantData,
int numberRegisters
);JScript public function SetVertexShaderConstantSingle(
startRegister : int,
constantData : GraphicsStream,
numberRegisters : int
);
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.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.