AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
GLEnums.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
   13#include <AUI/GL/gl.h>
   14
   15namespace gl {
   16    enum class Multisampling {
   17        DISABLED,
   18        ENABLED,
   19    };
   20
   21    enum class InternalFormat {
   22        DEPTH_COMPONENT   = 6402,
   23        DEPTH_COMPONENT24 = 33190,
   24        DEPTH_COMPONENT16 = 33189,
   25        DEPTH24_STENCIL8 = 0x88F0,
   26        STENCIL8 = 0x8D48,
   27        RGBA8 = GL_RGBA8,
   28        RGBA = GL_RGBA,
   29    };
   30
   31    enum class Type {
   32        UNSIGNED_BYTE   = GL_UNSIGNED_BYTE,
   33        UNSIGNED_SHORT  = GL_UNSIGNED_SHORT,
   34        UNSIGNED_INT    = GL_UNSIGNED_INT,
   35        FLOAT           = GL_FLOAT,
   36    };
   37
   38    enum class Format {
   39        DEPTH_COMPONENT = GL_DEPTH_COMPONENT,
   40        RGBA            = GL_RGBA,
   41    };
   42}