|   |   |   | 
| EffectCompiler.CompileEffect Method | Language: | 
Compiles an effect.
Visual Basic Public Function CompileEffect() As GraphicsStream C# public GraphicsStream CompileEffect(); C++ public: 
GraphicsStream^ CompileEffect();JScript public function CompileEffect() : GraphicsStream; 
Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains the compiled effect.
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