다음을 통해 공유


ID3D10Include interface

An include interface allows an application to create user-overridable methods for opening and closing files when loading an effect from memory.

Members

The ID3D10Include interface inherits from the IUnknown interface. ID3D10Include also has these types of members:

  • Methods

Methods

The ID3D10Include interface has these methods.

Method Description
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.

 

Remarks

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.

Requirements

Header

D3D10Shader.h

Library

D3D10.lib

See also

Core Interfaces