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

Method setBuffer

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

Source from the content-addressed store, hash-verified

476//
477
478void ParameterBlock::setBuffer(std::string_view name, const ref<Buffer>& pBuffer)
479{
480 getRootVar()[name].setBuffer(pBuffer);
481}
482
483void ParameterBlock::setBuffer(const BindLocation& bindLoc, const ref<Buffer>& pBuffer)
484{

Callers

nothing calls this directly

Calls 8

getGFXShaderOffsetFunction · 0.85
isUavTypeFunction · 0.85
isSrvTypeFunction · 0.85
getRootVarFunction · 0.50
getTypeMethod · 0.45
getNameMethod · 0.45
getUAVMethod · 0.45
getSRVMethod · 0.45

Tested by

no test coverage detected