d3d9.dllAddFragments
Microsoft DirectX 9.0 SDK Update (October 2004)

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.




© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.