Hacker News new | past | comments | ask | show | jobs | submit login

wouldn't you need some sort of gpu access to have a smooth UI rendering with immediate gui(in production)?



This is if you expect to build an immediate mode with the same flat rendering model.

imgui's model is "you draw onto pixels". You could create another mental model which is "you draw onto a tree." so instead of saying "drawText(x, y, text)" you would do something like "drawText(domLocation, text)"

Granted, this model gets a bit messier, and _some_ might say defeats the purpose of immediate mode. But I think you could still get conciseness benefits on this.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: