Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
215
void ShaderVar::setTexture(const ref<Texture>& pTexture) const
216
{
217
mpBlock->setTexture(mOffset, pTexture);
218
}
219
220
ref<Texture> ShaderVar::getTexture() const
221
{
Callers
5
execute
Method · 0.45
compileFonts
Method · 0.45
setImpl
Method · 0.45
createMaterial
Function · 0.45
buildBSDF
Function · 0.45
Calls
no outgoing calls
Tested by
1
execute
Method · 0.36