org.lwjgl.opengles.ANGLEPackReverseRowOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengles Show documentation
Show all versions of lwjgl-opengles Show documentation
A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.
/*
* 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 ANGLE_pack_reverse_row_order extension.
*
* This extension introduces a mechanism to allow reversing the order in which image rows are written into a pack destination. This effectively allows an
* application to flip the results of a ReadPixels in the y direction operation without having to render upside down.
*
* The coordinate system of OpenGL is vertically reversed in comparison to a number of other graphics systems such as native windowing APIs. Applications
* that perform ReadPixels may have to either render to an intermediate color buffer before calling ReadPixels or perform a flip in software after
* ReadPixels. In some systems the GL can perform the row reversal during ReadPixels without incurring additional cost.
*/
public final class ANGLEPackReverseRowOrder {
/** Accepted by the {@code pname} parameter of PixelStore{if}, GetIntegerv(), GetBooleanv(), and GetFloatv(). */
public static final int GL_PACK_REVERSE_ROW_ORDER_ANGLE = 0x93A4;
private ANGLEPackReverseRowOrder() {}
}