?/TD> |
Microsoft DirectX 9.0 |
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_DUPLICATENAMEDFRAGMENT Multiple fragments with the same name were found. No fragments were added. E_FAIL An undetermined error occurred inside the Microsoft?Direct3D?subsystem.