ID3D12FunctionParameterReflection interface (d3d12shader.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 12 platforms to create precompiled HLSL functions, package them into libraries, and link them into full shaders at run time.
Methods
The ID3D12FunctionParameterReflection interface has these methods.
ID3D12FunctionParameterReflection::GetDesc Fills the parameter descriptor structure for the function's parameter. (ID3D12FunctionParameterReflection.GetDesc) |
Remarks
To get a function-parameter-reflection interface, call ID3D12FunctionReflection::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 ID3D12FunctionParameterReflection requires the D3dcompiler_47.dll or a later version of the DLL.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12shader.h |