ID3DXFragmentLinker::GetAllFragments

Allocates a buffer and copies the fragment data into it.

HRESULT GetAllFragments(
  LPD3DXBUFFER* ppBuffer
);

Parameters

ppBuffer
[out] Returns a buffer containing compiled shader fragments. See ID3DXBuffer.

Return Values

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, E_OUTOFMEMORY.

Requirements

Header: Declared in D3dx9shader.h.