On Friday, 9 July 2021 at 19:15:44 UTC, H. S. Teoh wrote:
On Fri, Jul 09, 2021 at 05:11:06AM +0000, Виталий Фадеев via
Digitalmars-d-learn wrote: [...]
[...]
[...]
[...]
Generally, text rendering on OpenGL is a huge pain to
implement. This is not specific to D, but to OpenGL in general,
because OpenGL itself does not have direct support for text
rendering at all. The usual route is to use an existing
text-rendering library like FreeType to rasterize your text,
then upload it as a texture to the GPU and render it as a quad.
[...]
Thank, H. S. Teoh!