Re:Vulkan Memory Allocator
by skohan on Wednesday July 21, 2021 @12:30PM
(#27908390)
Immediate mode makes no sense from a performance standpoint. But you can still use it in 2021 if you want. I believe it's still supported mostly for CAD programs which haven't changed their core software since the 80's
[ Parent
| on HN ]
Re:Vulkan Memory Allocator
by dangerbird2 on Wednesday July 21, 2021 @02:04PM
(#27909783)
And if you like the immediate mode API, just use something like raylib's rgl[1] that emulates an immediate-mode API on modern OpenGL. Aside from performance benefits, you can port your code to GLES or WebGL, where immediate-mode isn't present.
[1] https://github.com/raysan5/raylib/blob/master/src/rlgl.h