An include interface allows an application to create user-overridable methods for opening and closing files when loading an effect from memory.
The ID3D10Include interface inherits from the IUnknown interface. ID3D10Include also has these types of members:
The ID3D10Include interface has these methods.
A user-implemented method for closing a shader #include file.
A user-implemented method for opening and reading the contents of a shader #include file.
The ID3D10Include interface is type defined in the D3D10Shader.h header file as a ID3DInclude interface, which is fully defined in the D3DCommon.h header file.
typedef interface ID3DInclude ID3D10Include;
To use this interface, create an interface that inherits from ID3D10Include, and implement custom behavior for the methods.