/** @file gl.h * * Provides an implementation of a GL dispatch layer using either * global function pointers or a hidden vtable. * * You should include `<epoxy/gl.h>` instead of `<GL/gl.h>` and `<GL/glext.h>`.
*/
#ifndef EPOXY_GL_H #define EPOXY_GL_H
#include"epoxy/common.h"
#ifdefined(__gl_h_) || defined(__glext_h_) #error epoxy/gl.h must be included before (or in place of) GL/gl.h #else #define __gl_h_ #define __glext_h_ #endif
#ifndef _WIN32 /* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */ #define APIENTRY #define GLAPIENTRY #define EPOXY_CALLSPEC #define GLAPI #define KHRONOS_APIENTRY #define KHRONOS_APICALL
EPOXY_PUBLIC bool epoxy_has_gl_extension(constchar *extension);
EPOXY_PUBLIC bool epoxy_is_desktop_gl(void);
EPOXY_PUBLIC int epoxy_gl_version(void);
EPOXY_PUBLIC int epoxy_glsl_version(void);
/* * the type of the stub function that the failure handler must return; * this function will be called on subsequent calls to the same bogus * function name
*/ typedefvoid (*epoxy_resolver_stub_t)(void);
/* the type of the failure handler itself */ typedef epoxy_resolver_stub_t
(*epoxy_resolver_failure_handler_t)(constchar *name);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.