⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 egltypes.h

📁 brew 3D 上的扩展包,是openGL ES的底层API
💻 H
字号:
#ifndef __egltypes_h_
#define __egltypes_h_

/*
** egltypes.h is platform dependent. It defines:
**
**     - EGL types and resources
**     - Native types
**     - EGL and native handle values
**
** EGL types and resources are to be typedef'ed with appropriate platform
** dependent resource handle types. EGLint must be an integer of at least
** 32-bit.
**
** NativeDisplayType, NativeWindowType and NativePixmapType are to be
** replaced with corresponding types of the native window system in egl.h.
**
** EGL and native handle values must match their types.
**
** Example egltypes.h:
*/


/*
** Native Windowing Types
*/
#include <AEEBitmap.h>
#include <AEEComdef.h>
#include <AEEDisp.h>
#include <AEEStdlib.h>

typedef IDisplay* NativeDisplayType;
typedef IDIB* NativeWindowType;
typedef IDIB* NativePixmapType;

typedef int32	EGLBoolean;
typedef int32	EGLint;

/*
** Types and resources
*/
typedef void *EGLDisplay;
typedef void *EGLConfig;
typedef void *EGLSurface;
typedef void *EGLContext;

/*
** EGL and native handle values
*/
#define EGL_DEFAULT_DISPLAY ((NativeDisplayType)0)
#define EGL_NO_CONTEXT ((EGLContext)0)
#define EGL_NO_DISPLAY ((EGLDisplay)0)
#define EGL_NO_SURFACE ((EGLSurface)0)





#endif/*__egltypes_h_*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -