Bagikan melalui


Effect.CompileEffectFromFile Method

Compiles an effect from a file or stream containing the effect source code.

Overload List

Name Description
Effect.CompileEffectFromFile (Stream, CompilerMacro[], CompilerIncludeHandler, CompilerOptions, TargetPlatform) Compiles an effect from a stream containing the effect source code.
Effect.CompileEffectFromFile (Stream, Int32, CompilerMacro[], CompilerIncludeHandler, CompilerOptions, TargetPlatform) Compiles an effect from a stream containing the effect source code, specifying the number of bytes in the stream.
Effect.CompileEffectFromFile (String, CompilerMacro[], CompilerIncludeHandler, CompilerOptions, TargetPlatform) Compiles an effect from a file containing the effect source code.

See Also

Reference

Effect Class
Effect Members
Microsoft.Xna.Framework.Graphics Namespace