- 6
- 0
- 约3.53万字
- 约 99页
- 2023-04-20 发布于重庆
- 举报
* * * The first step in creating texture objects is to have OpenGL reserve some indices for your objects. glGenTextures() will request n texture ids and return those values back to you in texIds. To begin defining a texture object, you call glBindTexture() with the id of the object you want to create. The target is one of GL_TEXTURE_{123}D(). All texturing calls become part of the object until the next glBindTexture() is called. To have OpenGL use a particular texture object, call glBindTexture() with the target and id of the object you want to be active. To delete texture objects, use glDe
原创力文档

文档评论(0)