MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / PLUGIN_INSTALL

Function PLUGIN_INSTALL

Source/Features/Loop/Backend/Source/Plugin.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46DLL_EXPORT_C bool PLUGIN_INSTALL(Registry* registry) {
47 auto host = registry->Get<IFeatureHost>();
48 if (!host) {
49 return false;
50 }
51
52 // Install the Loop feature
53 feature = registry->New<ComponentTemplate<LoopFeature>>();
54 host->Register(feature);
55
56 // OK
57 return true;
58}
59
60DLL_EXPORT_C void PLUGIN_UNINSTALL(Registry* registry) {
61 auto host = registry->Get<IFeatureHost>();

Callers

nothing calls this directly

Calls 1

RegisterMethod · 0.45

Tested by

no test coverage detected