4 ms·
Do you think other gpu apis (vulkan, metal, direct3d) are better suited for 2d?
by earenndil 8y ago
Do you think other gpu apis (vulkan, metal, direct3d) are better suited for 2d?
- pjmlp 8y agoDirect3D alone not, but DirectX as a whole yes. Same applies to Metal. OpenGL suffers from "go fish libraries" mentality, where we only get a way to put pixels on the GPU and nothing else. While Metal, DirectX, LibCGNM, NVN, GX, GX2 provide a complete framework around their APIs. You get a way to do math, shader loading, dealing with fonts, textures, materials, scene descriptions, mesh loading, shader management. If I had a penny for every OpenGL tutorial that teaches how to manually load, compile and link shaders, or which libraries I am supposed to hunt down, I would be enjoying some nice vacations.