BindingsGles.h#

Parent directory (OpenGLES)

Includes the OpenGL ES Headers necessary for using OpenGL ES directly in your code, through the provided gl:: and glext:: classes.

Includes#

  • DynamicGles.h

  • PVRCore/Log.h

  • PVRUtils/EGL/EglPlatformContext.h

Included By#

Defines#

Source Code#

#pragma once
#include "PVRCore/Log.h"

// clang-format off
#define PVR_LOG_ERROR(...) do{ Log(LogLevel::Error,__VA_ARGS__); }while(false)
// clang-format on

// clang-format off
#define PVR_LOG_INFO(...) do{ Log(LogLevel::Information,__VA_ARGS__); }while(false)
// clang-format on

#if defined(TARGET_OS_IPHONE)
#define DYNAMICGLES_GLES30
#else
#define DYNAMICGLES_GLES32
#endif

#include "DynamicGles.h"

#if defined(GL_ES_VERSION_2_0)
#if !defined(GL_KHR_debug)
typedef void(GL_APIENTRY* GLDEBUGPROCKHR)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam);
#endif
#endif

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "PVRUtils/EGL/EglPlatformContext.h"