?/TD>
Microsoft DirectX 9.0

ID3DXFragmentLinker::AddFragments Method


Add the fragments from a buffer to the fragment linker.

Syntax

HRESULT AddFragments(      

    CONST DWORD* pFragments );

Parameters

pFragments
[in] Pointer to a buffer containing shader fragments. See D3DXGatherFragments.

Return Value

If the function succeeds, the return value is D3D_OK.

If the function fails, the return value can be one of the following values.

D3DXERR_DUPLICATENAMEDFRAGMENTMultiple fragments with the same name were found. No fragments were added.
E_FAILAn undetermined error occurred inside the Microsoft?Direct3D?subsystem.




© 2002 Microsoft Corporation. All rights reserved.