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

ID3DXInclude Interface


ID3DXInclude is a user-implemented interface to provide callbacks for #include directives during shader compilation. Each of the methods in this interface must be implemented by the user which will then be used as callbacks to the application when one of the following occurs:

ID3DXInclude Members

Close A user-implemented method for closing a shader #include file.
Open A user-implemented method for opening and reading the contents of a shader #include file.

Remarks

A user creates an ID3DXInclude interface by implementing a class that derives from this interface, and implementing all the interface methods.

The LPD3DXINCLUDE type is defined as a pointer to this interface.

typedef interface ID3DXInclude ID3DXInclude;
typedef interface ID3DXInclude *LPD3DXINCLUDE;

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits from Nothing
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.