NovelRT
NovelRT copied to clipboard
Missing helpers for NovelRT::Ecs::Graphics
This ticket is mostly just a bit of bulk work, and should be doable by anyone who can understand basic C and basic C++.
There is currently no well-defined C shim for simplifying access to the default graphics support within NovelRT::Ecs. This means that:
- it is currently impossible to attach the default rendering system to a
SystemScheduler
from C - it is currently impossible to get the correct component type ID for the rendering components
- even if it were possible, the barebones C API for ECS means it would be cumbersome to use.
For something that is well-defined as this in the C++ API I believe that we should probably support the above behaviours in C also. This may or may not involve:
- making C-compliant versions of POD types for type punning
- opaque handles to complex types such as the default rendering system
- making C functions to register the default rendering components internally via C++ and caching the IDs so they can be returned via another C function (or by the same one)
Ill work on it
Issue is open again after user was banned.
I'll start working on it
I'll work on it (trust me, I will!!)