Share via


FragmentLinker.AddFragments(GraphicsStream) Method (Microsoft.DirectX.Direct3D)

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.