Note: This documentation is preliminary and is subject to change.
Creates an effect compiler from an ASCII or binary effect description in a stream.
Definition
Visual Basic .NET
Public Shared Function FromStream( _ ByVal sourceData As Stream, _ ByVal preprocessorDefines() As Macro, _ 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.