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

Method setSampler

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

Source from the content-addressed store, hash-verified

706//
707
708void ParameterBlock::setSampler(std::string_view name, const ref<Sampler>& pSampler)
709{
710 getRootVar()[name].setSampler(pSampler);
711}
712
713void ParameterBlock::setSampler(const BindLocation& bindLocation, const ref<Sampler>& pSampler)
714{

Callers 2

blitMethod · 0.45

Calls 4

isSamplerTypeFunction · 0.85
getGFXShaderOffsetFunction · 0.85
getRootVarFunction · 0.50
getTypeMethod · 0.45

Tested by

no test coverage detected