Note: This documentation is preliminary and is subject to change.
Assembles shader fragments and creates a new fragment linker object.
Definition
Visual Basic .NET
Public Shared Function GatherFragmentsFromFile( _ ByVal file As String, _ ByVal preprocessorDefines() As Macro, _ ByVal includeFile As Include, _ ByVal flags As ShaderFlags, _ ByRef compilationErrors As String _ ) As GraphicsStream
System.String. A String that contains a listing of errors and warnings that were encountered during compilation.
Return Value
Microsoft.DirectX.GraphicsStream. A GraphicsStream object that contains the created shader. This buffer contains the compiled shader code as well as any embedded debug and symbol table information.