A user-implemented method for closing a shader #include file.
public:
HRESULT Close(
LPCVOID pData
)
pData
Type: LPCVOIDÂ
Pointer to the buffer that contains the include directives. This is the pointer that was returned by the corresponding ID3DInclude::Open call.
Type: HRESULTÂ
The user-implemented Close method should return S_OK. If Close fails when it closes the #include file, the application programming interface (API) that caused Close to be called fails. This failure can occur in one of the following situations:
If ID3DInclude::Open was successful, Close is guaranteed to be called before the API using the ID3DInclude interface returns.
Header: Declared in d3d11_x.h (d3dcommon.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).