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

Method GetOutputs

GTE/Graphics/DX11/HLSLShaderFactory.cpp:251–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251bool HLSLShaderFactory::GetOutputs(ID3DShaderReflection* reflector, HLSLReflection& shader)
252{
253 UINT const numOutputs = shader.GetDescription().numOutputParameters;
254 for (UINT i = 0; i < numOutputs; ++i)
255 {
256 D3D_SIGNATURE_PARAMETER_DESC spDesc;
257 DX11Log(reflector->GetOutputParameterDesc(i, &spDesc));
258 shader.InsertOutput(HLSLParameter(spDesc));
259 }
260 return true;
261}
262
263bool HLSLShaderFactory::GetCBuffers(ID3DShaderReflection* reflector, HLSLReflection& shader)
264{

Callers

nothing calls this directly

Calls 3

HLSLParameterClass · 0.85
GetDescriptionMethod · 0.80
InsertOutputMethod · 0.80

Tested by

no test coverage detected