ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
263 stars 22 forks source link

Immediate mode rendering? #106

Open jackwlee01 opened 1 year ago

jackwlee01 commented 1 year ago

Does Ceramic support any form of immediate mode rendering? I have built some Kha libraries that would be much easier to port to Ceramic if I could easily access low level rendering functionality.

jeremyfa commented 1 year ago

Hi!

No, Ceramic does not really support immediate mode rendering.

There are long term plans in adding a Graphics class that would allow to emulate immediate API though. I say "emulate", because it would still work with creating and reusing quad or mesh objects internally to go through the Ceramic renderer, but that would still be very helpful if you need such API to port some library made for Kha initially.