| Device.SetVertexShaderConstant Method | Language: | 
      
      
      Sets a vertex shader constant.
      Definition
      
        
          
            | Visual Basic | Public Sub SetVertexShaderConstant( _ ByVal startRegister As Integer, _
 ByVal constantData() As Matrix _
 )
 | 
          
            | C# | public void  SetVertexShaderConstant( int startRegister,
 Matrix[] constantData
 );
 | 
          
            | C++ | public: void SetVertexShaderConstant(
 int startRegister,
 array<Matrix>^ constantData
 );
 | 
          
            | JScript | public function SetVertexShaderConstant( startRegister : int,
 constantData : Matrix[]
 );
 | 
        
      
      Parameters
      
        
      
      Remarks
      
        
          
            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.
			
        
        
	   		For more help, visit the DirectX Developer Center