ID3D11Linker::UseLibrary method (d3d11shader.h)
Adds an instance of a library module to be used for linking.
Syntax
HRESULT UseLibrary(
[in] ID3D11ModuleInstance *pLibraryMI
);
Parameters
[in] pLibraryMI
Type: ID3D11ModuleInstance*
A pointer to the ID3D11ModuleInstance interface for the library module instance.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11shader.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for