NovelRT icon indicating copy to clipboard operation
NovelRT copied to clipboard

Missing helpers for NovelRT::Ecs::Graphics

Open RubyNova opened this issue 2 years ago • 4 comments

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)

RubyNova avatar Feb 07 '22 12:02 RubyNova

Ill work on it

ActualDio avatar Feb 07 '22 12:02 ActualDio

Issue is open again after user was banned.

RubyNova avatar May 09 '22 19:05 RubyNova

I'll start working on it

NullSapphire avatar May 09 '22 19:05 NullSapphire

I'll work on it (trust me, I will!!)

DynamicField avatar Sep 13 '22 09:09 DynamicField