cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
宏定义 - 图1 宏定义 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

宏定义 | 类型定义 | 变量

CCGL.h 文件参考

#include "base/CCPlatformConfig.h"

#include

#include

#include

## 宏定义
#define glClearDepth glClearDepthf
#define glDeleteVertexArrays glDeleteVertexArraysOES
#define glGenVertexArrays glGenVertexArraysOES
#define glBindVertexArray glBindVertexArrayOES
#define glMapBuffer glMapBufferOES
#define glUnmapBuffer glUnmapBufferOES
#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
#define GL_WRITE_ONLY GL_WRITE_ONLY_OES
#define GL_GLEXT_PROTOTYPES 1
#define GL_BGRA 0x80E1
#define glGenVertexArraysOES glGenVertexArraysOESEXT
#define glBindVertexArrayOES glBindVertexArrayOESEXT
#define glDeleteVertexArraysOES glDeleteVertexArraysOESEXT
## 类型定义
typedef char GLchar
## 变量
PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOESEXT
PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOESEXT
PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOESEXT

宏定义说明

#define GL_BGRA 0x80E1

#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES

#define GL_GLEXT_PROTOTYPES 1

#define GL_WRITE_ONLY GL_WRITE_ONLY_OES

#define glBindVertexArray glBindVertexArrayOES

#define glBindVertexArrayOES glBindVertexArrayOESEXT

#define glClearDepth glClearDepthf

#define glDeleteVertexArrays glDeleteVertexArraysOES

#define glDeleteVertexArraysOES glDeleteVertexArraysOESEXT

#define glGenVertexArrays glGenVertexArraysOES

#define glGenVertexArraysOES glGenVertexArraysOESEXT

#define glMapBuffer glMapBufferOES

#define glUnmapBuffer glUnmapBufferOES

类型定义说明

typedef char GLchar

变量说明

PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOESEXT

PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOESEXT

PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOESEXT