D3DXCreateFragmentLinkerEx
![]() |
![]() |
D3DXCreateFragmentLinkerEx
Create a fragment linker, which can be used to link one or more shader fragments together.
HRESULT D3DXCreateFragmentLinkerEx( LPDIRECT3DDEVICE9 pDevice, UINT ShaderCacheSize, DWORD Flags, LPD3DXFRAGMENTLINKER * ppFragmentLinker );
Parameters
- pDevice
[in] Pointer to the current device (see IDirect3DDevice9). - ShaderCacheSize
[in] Shader cache size in bytes. This can be used for optimization. - Flags
[in] Use the D3DXFRAGMENT_LARGEADDRESSAWARE flag to access up to 4 GB of virtual address space (instead of the default of 2 GB). If you do not need the additional virtual address space, see D3DXCreateFragmentLinker. - ppFragmentLinker
[out] Returns a pointer to the new fragment linker interface (see ID3DXFragmentLinker).
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: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA, E_OUTOFMEMORY.
Requirements
Header: Declared in D3DX9Shader.h.
Library: Use D3dx9.lib.
.jpg)
.jpg)