A user-implemented method for closing a shader #include file.
- pData [in]
Pointer to the returned buffer that contains the include directives. This is the pointer that was returned by the corresponding ID3D10Include::Open call.
The user-implemented method should return S_OK. If the callback fails when reading the #include file, the application programming interface (API) that caused the callback to be called will fail. This is one of the following:
- The high-level shader language (HLSL) shader will fail one of the D3D10CompileShader*** functions.
- The effect will fail one of the D3D10CreateEffect*** functions.
If ID3D10Include::Open was successful, ID3D10Include::Close is guaranteed to be called before the API using this interface returns.
typedef interface ID3DInclude ID3D10Include;