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

Method setTexture

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

Source from the content-addressed store, hash-verified

213}
214
215void ShaderVar::setTexture(const ref<Texture>& pTexture) const
216{
217 mpBlock->setTexture(mOffset, pTexture);
218}
219
220ref<Texture> ShaderVar::getTexture() const
221{

Callers 5

executeMethod · 0.45
compileFontsMethod · 0.45
setImplMethod · 0.45
createMaterialFunction · 0.45
buildBSDFFunction · 0.45

Calls

no outgoing calls

Tested by 1

executeMethod · 0.36