ID3DInclude interface

ID3DInclude is an include interface that the user implements to allow an application to call user-overridable methods for opening and closing shader #include files.

Methods

The ID3DInclude interface has these methods.

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

Remarks

To use this interface, create an interface that inherits from ID3DInclude and implement custom behavior for the methods.

Requirements

   
Windows version Windows 7 [desktop apps | UWP apps] Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3dcommon.h

See Also

Common Version Interfaces