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

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

宏定义 | 函数

CCGL_Angle.h 文件参考

#include "EGL/egl.h"

#include "EGL/eglext.h"

#include "EGL/eglplatform.h"

#include "GLES2/gl2.h"

#include "GLES2/gl2ext.h"

#include "winrtangle.h"

#include "esUtil.h"

#include "ccMacros.h"

## 宏定义
#define GL_OES_mapbuffer 1
#define GL_OES_vertex_array_object 1
#define GL_WRITE_ONLY_OES 0x88B9
#define GL_BUFFER_ACCESS_OES 0x88BB
#define GL_BUFFER_MAPPED_OES 0x88BC
#define GL_BUFFER_MAP_POINTER_OES 0x88BD
#define GL_BGRA GL_BGRA_EXT
#define glClearDepth glClearDepthf
#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
#define GL_WRITE_ONLY GL_WRITE_ONLY_OES
## 函数
void glGenVertexArrays (GLsizei n, GLuint arrays)
void glBindVertexArray (GLuint array)
void glDeleteVertexArrays (GLsizei n, const GLuint arrays)
void * glMapBuffer (GLenum target, GLenum access)
GLboolean glUnmapBuffer (GLenum targets)

宏定义说明

#define GL_BGRA GL_BGRA_EXT

#define GL_BUFFER_ACCESS_OES 0x88BB

#define GL_BUFFER_MAP_POINTER_OES 0x88BD

#define GL_BUFFER_MAPPED_OES 0x88BC

#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES

#define GL_OES_mapbuffer 1

#define GL_OES_vertex_array_object 1

#define GL_WRITE_ONLY GL_WRITE_ONLY_OES

#define GL_WRITE_ONLY_OES 0x88B9

#define glClearDepth glClearDepthf

函数说明

void glBindVertexArray ( GLuint array)

inline

void glDeleteVertexArrays ( GLsizei n,
const GLuint * arrays
)

inline

void glGenVertexArrays ( GLsizei n,
GLuint * arrays
)

inline

void* glMapBuffer ( GLenum target,
GLenum access
)

inline

GLboolean glUnmapBuffer ( GLenum targets)

inline