阅读背景:

如何将指向GLEW函数的指针传递给模板?

来源:互联网 

I'm trying to write a simple wrapper for OpenGL that holds buffers. Since there are many buffers, each with a specialized generate and delete function, I was hoping to use a template so that I can create these wrappers easily. The end goal is to have something like this:I'm trying to write a simple wrapper for OpenGL




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: