| 51 | } |
| 52 | |
| 53 | ref<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 |
nothing calls this directly
no test coverage detected