MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetInputs

Method GetInputs

GTE/Graphics/DX11/HLSLShaderFactory.cpp:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239bool HLSLShaderFactory::GetInputs(ID3DShaderReflection* reflector, HLSLReflection& shader)
240{
241 UINT const numInputs = shader.GetDescription().numInputParameters;
242 for (UINT i = 0; i < numInputs; ++i)
243 {
244 D3D_SIGNATURE_PARAMETER_DESC spDesc;
245 DX11Log(reflector->GetInputParameterDesc(i, &spDesc));
246 shader.InsertInput(HLSLParameter(spDesc));
247 }
248 return true;
249}
250
251bool HLSLShaderFactory::GetOutputs(ID3DShaderReflection* reflector, HLSLReflection& shader)
252{

Callers

nothing calls this directly

Calls 3

HLSLParameterClass · 0.85
GetDescriptionMethod · 0.80
InsertInputMethod · 0.80

Tested by

no test coverage detected