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

Method create

Source/Falcor/RenderGraph/RenderPass.cpp:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53ref<RenderPass> RenderPass::create(std::string_view type, ref<Device> pDevice, const Properties& props, PluginManager& pm)
54{
55 // Try to load a plugin of the same name, if render pass class is not registered yet.
56 if (!pm.hasClass<RenderPass>(type))
57 pm.loadPluginByName(type);
58
59 return pm.createClass<RenderPass>(type, pDevice, props);
60}
61} // namespace Falcor

Callers

nothing calls this directly

Calls 1

loadPluginByNameMethod · 0.80

Tested by

no test coverage detected