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

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 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 Implementationd3d9.dll
Custom ImplementationNo
Inherits fromIUnknown
Headerd3dx9shader.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


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