All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengles.EXTTextureFormatBGRA8888 Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengles;

/**
 * Native bindings to the EXT_texture_format_BGRA8888 extension.
 * 
 * 

This extension provides an additional format and type combination for use when specifying texture data. The current allowed combinations are:

* *

 *     Internal Format     External Format Type                    Bytes per Pixel
 *     ---------------     --------------- ----                    ---------------
 *     RGBA                RGBA             UNSIGNED_BYTE          4
 *     RGB                 RGB              UNSIGNED_BYTE          3
 *     RGBA                RGBA             UNSIGNED_SHORT_4_4_4_4 2
 *     RGBA                RGBA             UNSIGNED_SHORT_5_5_5_1 2
 *     RGB                 RGB              UNSIGNED_SHORT_5_6_5   2
 *     LUMINANCE_ALPHA     LUMINANCE_ALPHA  UNSIGNED_BYTE          2
 *     LUMINANCE           LUMINANCE        UNSIGNED_BYTE          1
 *     ALPHA               ALPHA            UNSIGNED_BYTE          1
* *

This table is extended to include format BGRA_EXT and type UNSIGNED_BYTE:

* *

 * Internal Format     External Format Type                    Bytes per Pixel
 * ---------------     --------------- ----                    ---------------
 * BGRA_EXT            BGRA_EXT        UNSIGNED_BYTE           4
 * RGBA                RGBA            UNSIGNED_BYTE           4
 * RGB                 RGB             UNSIGNED_BYTE           3
 * RGBA                RGBA            UNSIGNED_SHORT_4_4_4_4  2
 * RGBA                RGBA            UNSIGNED_SHORT_5_5_5_1  2
 * RGB                 RGB             UNSIGNED_SHORT_5_6_5    2
 * LUMINANCE_ALPHA     LUMINANCE_ALPHA UNSIGNED_BYTE           2
 * LUMINANCE           LUMINANCE       UNSIGNED_BYTE           1
 * ALPHA               ALPHA           UNSIGNED_BYTE           1
*/ public final class EXTTextureFormatBGRA8888 { /** Accepted by the {@code format} and {@code internalformat} parameters of TexImage2D and the {@code format} parameter of TexSubImage2D. */ public static final int GL_BGRA_EXT = 0x80E1; private EXTTextureFormatBGRA8888() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy