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

ID3DXFragmentLinker::GetFragment Method


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

Syntax

HRESULT GetFragment(      

    D3DXHANDLE Name,     LPD3DXBUFFER* ppBuffer );

Parameters

Name
[in] Unique identifier to the fragment name. See Handles.
ppBuffer
[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.





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