ID3D11FunctionParameterReflection interface (d3d11shader.h)
A function-parameter-reflection interface accesses function-parameter 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.
Methods
The ID3D11FunctionParameterReflection interface has these methods.
ID3D11FunctionParameterReflection::GetDesc Fills the parameter descriptor structure for the function's parameter. (ID3D11FunctionParameterReflection.GetDesc) |
Remarks
To get a function-parameter-reflection interface, call ID3D11FunctionReflection::GetFunctionParameter. This isn't a COM interface, so you don't need to worry about reference counts or releasing the interface when you're done with it.
Note ID3D11FunctionParameterReflection requires the D3dcompiler_47.dll or a later version of the DLL.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11shader.h |