kotlin-graphics / imgui

Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
MIT License
604 stars 36 forks source link

Change DrawCmd.userCallbackData type to Any #148

Closed exuvo closed 4 years ago

exuvo commented 4 years ago

Change the type of userCallbackData to Any so we can send in any class instance we desire for the custom render. Serialising whatever data we need for the customer renderer into a ByteBuffer is slow and difficult to use.

elect86 commented 4 years ago

Thanks