ID3DInclude interface (d3dcommon.h)

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.


The ID3DInclude interface has these methods.


A user-implemented method for closing a shader

A user-implemented method for opening and reading the contents of a shader


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


Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3dcommon.h

See also

Common Version Interfaces