Microsoft DirectX 9.0

ID3DXFragmentLinker Interface

The ID3DXFragmentLinker interface is used to link shader fragments at runtime.

ID3DXFragmentLinker Members

AddFragments Add the fragments from a buffer to the fragment linker.
ClearCache Clear the fragment linker cache.
GetAllFragments Create a buffer containing the linker fragments. Suitable for saving to disk.
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.
LinkShader Link a compiled shader at runtime. This is a very lightweight operation.
LinkVertexShader Link a compiled vertex shader at runtime. This is a very lightweight operation.

Interface Information

Inherits fromIUnknown
Import libraryd3dx9.lib
Minimum operating systems Windows 98

© 2002 Microsoft Corporation. All rights reserved.