ID3D11LibraryReflection interface

A library-reflection interface accesses library info.

Note  This interface is part of the HLSL shader linking technology that you can use on all Direct3D 11 platforms to create precompiled HLSL functions, package them into libraries, and link them into full shaders at run time.



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


The ID3D11LibraryReflection interface has these methods.

Method Description
ID3D11LibraryReflection::GetDesc Fills the library descriptor structure for the library reflection.
ID3D11LibraryReflection::GetFunctionByIndex Gets the function reflector.


To get a library-reflection interface, call D3DReflectLibrary.

Note  ID3D11LibraryReflection requires the D3dcompiler_47.dll or a later version of the DLL.


Target Platform Windows
Header d3d11shader.h

See also


Shader Interfaces