MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / ProgramReflection

Method ProgramReflection

Source/Falcor/Core/Program/ProgramReflection.cpp:1219–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1217}
1218
1219ProgramReflection::ProgramReflection(ProgramVersion const* pProgramVersion) : mpProgramVersion(pProgramVersion)
1220{
1221 ref<ReflectionStructType> pGlobalStruct = ReflectionStructType::create(0, "", nullptr);
1222
1223 ref<ParameterBlockReflection> pDefaultBlock = ParameterBlockReflection::createEmpty(pProgramVersion);
1224 pDefaultBlock->setElementType(pGlobalStruct);
1225 setDefaultParameterBlock(pDefaultBlock);
1226}
1227
1228EntryPointGroupReflection::EntryPointGroupReflection(ProgramVersion const* pProgramVersion) : ParameterBlockReflection(pProgramVersion) {}
1229

Callers

nothing calls this directly

Calls 12

reflectTopLevelVariableFunction · 0.85
reflectShaderIOFunction · 0.85
stringFunction · 0.85
setElementTypeMethod · 0.80
addMemberMethod · 0.80
getProgramMethod · 0.80
createFunction · 0.70
getSizeMethod · 0.45
getMethod · 0.45
finalizeMethod · 0.45
push_backMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected