More mesh shading changes

This commit is contained in:
Dynamitos committed 2023-11-22 13:18:54 +01:00
1 parent 6daaa61641
commit 7f1bc7d090
20 files changed
+353 -228

No files matched your search

+10
View File
@@ -44,6 +44,16 @@ public:
{
registry.view<Component...>().each(func);
}
template<typename Component>
auto constructCallback()
{
return registry.on_construct<Component>();
}
template<typename Component>
auto destroyCallback()
{
return registry.on_destroy<Component>();
}
PLightEnvironment getLightEnvironment() { return lightEnv; }
Gfx::PGraphics getGraphics() const { return graphics; }
entt::registry registry;