ID3DXFragmentLinker::GetFragment
![]() |
![]() |
ID3DXFragmentLinker::GetFragment
Create a buffer containing a linker fragment. This can be used for saving the fragment to disk.
HRESULT GetFragment( D3DXHANDLE Name, LPD3DXBUFFER* ppBuffer );
Parameters
- Name
[in] Unique identifier to the fragment name. See Handles (Direct3D 9). - ppBuffer
[out] Returns a buffer containing a compiled shader fragment. See ID3DXBuffer.
Return Values
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.
Requirements
Header: Declared in D3DX9Shader.h.
Library: Use D3dx9.lib.
.jpg)
.jpg)