Microsoft DirectX 9.0

ID3DXFragmentLinker::GetFragment Method

Create a buffer containing a linker fragment. This can be used for saving the fragment to disk.


HRESULT GetFragment(      

    D3DXHANDLE Name,     LPD3DXBUFFER* ppBuffer );


[in] Unique identifier to the fragment name. See Handles.
[out] Returns a buffer containing a compiled shader fragment. See ID3DXBuffer.

Return Value

If the method succeeds, the return value is S_OK.

If the arguments are invalid, the method will return D3DERR_INVALIDCALL.

If the method fails, the return value can be E_OUTOFMEMORY.

© 2002 Microsoft Corporation. All rights reserved.