Freigeben über


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.

Mitglieder

ID3DIncludeSchnittstelle erbt von der IUnknown-Schnittstelle. ID3DInclude umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

ID3DIncludeSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
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.

 

Hinweise

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

Anforderungen

Header

D3Dcommon.h

Bibliothek

D3dcompiler.lib or D3dcompiler_nn.dll

Siehe auch

Common Version Interfaces