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

Method setTexture

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

Source from the content-addressed store, hash-verified

542//
543
544void ParameterBlock::setTexture(std::string_view name, const ref<Texture>& pTexture)
545{
546 getRootVar()[name].setTexture(pTexture);
547}
548
549void ParameterBlock::setTexture(const BindLocation& bindLocation, const ref<Texture>& pTexture)
550{

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