FragmentLinker.AddFragments Method

Language:

Adds fragments to the existing fragment linker.

Definition

Visual Basic Public Sub AddFragments( _
    ByVal fragments As GraphicsStream _
)
C# public void AddFragments(
    GraphicsStream fragments
);
C++ public:
void AddFragments(
    GraphicsStreamfragments
);
JScript public function AddFragments(
    fragments : GraphicsStream
);

Parameters

fragments Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains shader fragments to add.

Remarks

Exceptions
DuplicateNamedFragmentException Multiple fragments with the same name were found. No fragments were added.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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