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

Method getResourceBinding

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

Source from the content-addressed store, hash-verified

2258{}
2259
2260ParameterBlockReflection::BindLocation ParameterBlockReflection::getResourceBinding(std::string_view name) const
2261{
2262 return getElementType()->getMemberOffset(name);
2263}
2264
2265const ref<const ReflectionVar> ProgramReflection::getResource(std::string_view name) const
2266{

Callers 2

GuiImplMethod · 0.80
BlitContextMethod · 0.80

Calls 2

getMemberOffsetMethod · 0.80
getElementTypeFunction · 0.70

Tested by

no test coverage detected