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

Method setImpl

Source/Falcor/Core/Program/ShaderVar.cpp:379–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void ShaderVar::setImpl(const ref<Texture>& pTexture) const
380{
381 mpBlock->setTexture(mOffset, pTexture);
382}
383
384void ShaderVar::setImpl(const ref<Sampler>& pSampler) const
385{

Callers

nothing calls this directly

Calls 4

setTextureMethod · 0.45
setSamplerMethod · 0.45
setBufferMethod · 0.45
setParameterBlockMethod · 0.45

Tested by

no test coverage detected