AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
gl.h
    1/*
    2 * AUI Framework - Declarative UI toolkit for modern C++20
    3 * Copyright (C) 2020-2025 Alex2772 and Contributors
    4 *
    5 * SPDX-License-Identifier: MPL-2.0
    6 *
    7 * This Source Code Form is subject to the terms of the Mozilla Public
    8 * License, v. 2.0. If a copy of the MPL was not distributed with this
    9 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
   10 */
   11
   12#pragma once
   13extern "C" {
   14#if AUI_PLATFORM_ANDROID
   15#include <GLES3/gl3.h>
   16#include <GLES3/gl31.h>
   17#include <GLES3/gl32.h>
   18#include <GLES3/gl3ext.h>
   19#include <EGL/egl.h>
   20#elif AUI_PLATFORM_MACOS
   21#include <GL/glew.h>
   22#include <OpenGL/OpenGL.h>
   23#elif AUI_PLATFORM_IOS
   24#include <OpenGLES/ES3/gl.h>
   25#include <OpenGLES/ES3/glext.h>
   26#else
   27#include <GL/glew.h>
   28#include <GL/gl.h>
   29#endif
   30}