|
|
|
|
|
by pjmlp
3618 days ago
|
|
Well, for me being based on pure C instead of the OO interfaces of other APIs it isn't something that makes me wish to use it. I rather use APIs that embrace OO, offer math, font handling, texture and mesh APIs as part of SDKs instead of forcing developers to play Lego with libraries offered on the wild. > Khronos isn't a company—it's a standards body. As NVIDIA is a member of Khronos, "Khronos" did bother to create a C++ API. I guess that is one way of selling the story. |
|
But it's not "pure C". C is just the glue. You can use the C++ API if that's what you want, and you have a completely object-oriented API.
Can Linux never have an "OO interface" because all syscalls trap into a kernel written purely in C? Of course not, that would be silly. The same is true here. If you program against an object-oriented C++ interface, then you have a fully object-oriented API.