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.
Methods
The ID3DInclude interface has these methods.
ID3DInclude::Close A user-implemented method for closing a shader |
ID3DInclude::Open A user-implemented method for opening and reading the contents of a shader |
Remarks
To use this interface, create an interface that inherits from ID3DInclude and implement custom behavior for the methods.
Requirements
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 |