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

Method getTexture

Source/Falcor/RenderGraph/RenderPass.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47ref<Texture> RenderData::getTexture(const std::string_view name) const
48{
49 auto pResource = getResource(name);
50 return pResource ? pResource->asTexture() : nullptr;
51}
52
53ref<RenderPass> RenderPass::create(std::string_view type, ref<Device> pDevice, const Properties& props, PluginManager& pm)
54{

Callers 2

executeMethod · 0.45
clearRenderPassChannelsFunction · 0.45

Calls 2

getResourceFunction · 0.85
asTextureMethod · 0.80

Tested by

no test coverage detected