游戏中新的场景管理技术.pptVIP

  • 1
  • 0
  • 约3.65万字
  • 约 98页
  • 2019-06-28 发布于湖北
  • 举报
游戏中新的场景管理技术

* * * * * * * 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,

文档评论(0)

1亿VIP精品文档

相关文档