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

Method getTexture

Source/Falcor/Core/API/ParameterBlock.cpp:576–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576ref<Texture> ParameterBlock::getTexture(std::string_view name) const
577{
578 return getRootVar()[name].getTexture();
579}
580
581ref<Texture> ParameterBlock::getTexture(const BindLocation& bindLocation) const
582{

Callers

nothing calls this directly

Calls 8

getGFXShaderOffsetFunction · 0.85
isUavTypeFunction · 0.85
isSrvTypeFunction · 0.85
asTextureMethod · 0.80
getRootVarFunction · 0.50
getTypeMethod · 0.45
endMethod · 0.45
getResourceMethod · 0.45

Tested by

no test coverage detected