![]() |
![]() |
![]() |
The ID3DXFragmentLinker interface is used to
ID3DXFragmentLinker Members
AddFragments Add the fragments from a buffer to the fragment linker. ClearCache Clear the fragment linker cache. GetAllFragments Allocates a buffer and copies the fragment data into it. GetDevice Get the device. GetFragment Create a buffer containing a linker fragment. This can be used for saving the fragment to disk. GetFragmentDesc Get the D3DXFRAGMENT_DESC structure which describes the named fragment. GetFragmentHandleByIndex Get a fragment handle by index. GetFragmentHandleByName Get a fragment handle by name. GetNumberOfFragments Get the number of fragments in the linker. LinkPixelShader Link a compiled pixel shader at run time. This is a very lightweight operation. LinkShader Link a compiled shader at run time. This is a very lightweight operation. LinkVertexShader Link a compiled vertex shader at run time. This is a very lightweight operation.
Remarks
The LPD3DXFRAGMENTLINKER type is defined as a pointer to the ID3DXFragmentLinker interface.
typedef ID3DXFragmentLinker *LPD3DXFRAGMENTLINKER;
Interface Information
Stock Implementation d3d9.dll Custom Implementation No Inherits from IUnknown Header d3dx9shader.h Import library d3dx9.lib Minimum operating systems Windows 98