UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:d3dcommon.ID3DInclude.Close |
ID3DInclude::Close (d3dcommon.h) |
A user-implemented method for closing a shader |
|
direct3d11\id3dinclude_close.htm |
direct3d11 |
d4513e15-dfe7-4919-a278-d386f25e65e5 |
12/05/2018 |
Close, Close method [Direct3D 11], Close method [Direct3D 11],ID3DInclude interface, ID3DInclude interface [Direct3D 11],Close method, ID3DInclude.Close, ID3DInclude::Close, d3dcommon/ID3DInclude::Close, direct3d11.id3dinclude_close |
d3dcommon.h |
Windows |
D3DCompiler.lib |
D3DCompiler_47.dll |
Windows |
19H1 |
|
|
|
|
|
|
A user-implemented method for closing a shader #include file.
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:
- The high-level shader language (HLSL) shader fails one of the D3D10CompileShader*** functions.
- The effect fails one of the D3D10CreateEffect*** functions.
If ID3DInclude::Open was successful, Close is guaranteed to be called before the API using the ID3DInclude interface returns.