public final class ANGLEPackReverseRowOrder
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_PACK_REVERSE_ROW_ORDER_ANGLE
Accepted by the
pname parameter of PixelStore{if}, GetIntegerv(), GetBooleanv(), and GetFloatv(). |
public static final int GL_PACK_REVERSE_ROW_ORDER_ANGLE
pname parameter of PixelStore{if}, GetIntegerv(), GetBooleanv(), and GetFloatv().Copyright LWJGL. All Rights Reserved. License terms.