Note: This documentation is preliminary and is subject to change.
Creates an effect compiler from an ASCII or binary effect description.
Definition
Visual Basic .NET
Public Shared Function FromFile( _ ByVal sourceFile As String, _ ByVal includeFile As Include, _ ByVal flags As ShaderFlags, _ ByRef compilationErrors As String _ ) As EffectCompiler
Microsoft.DirectX.Direct3D.Include. Optional Include object to use for handling #include directives. If this value is null, #include directives are either honored when compiling from a file, or cause an error when compiled from a resource or memory.