Microsoft DirectX 9.0 SDK Update (October 2004)

EffectCompiler.CompileEffect Method

Language:

Note: This documentation is preliminary and is subject to change.

Compiles an effect.

Definition

Visual Basic .NET Public Function CompileEffect() As GraphicsStream
C# public GraphicsStream CompileEffect();
Managed C++ public: GraphicsStream* CompileEffect();
JScript .NET public function CompileEffect() : GraphicsStream;

Return Value

Microsoft.DirectX.GraphicsStream . A GraphicsStream object that contains the compiled effect.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center