ID3DXFragmentLinker::AddFragments

Bb173974.XDK_CHM_BANNER_left(en-us,VS.85).jpg Bb173974.XDK_CHM_BANNER_right(en-us,VS.85).jpg

ID3DXFragmentLinker::AddFragments

Add the fragments from a buffer to the fragment linker.

  HRESULT 
  AddFragments(
  CONST DWORD* pFragments
);

Parameters

Return Values

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DXERR_DUPLICATENAMEDFRAGMENT, E_FAIL.

Requirements

Header: Declared in D3DX9Shader.h.

Library: Use D3dx9.lib.