Class MESAFramebufferFlipX
- java.lang.Object
-
- org.lwjgl.opengl.MESAFramebufferFlipX
-
public final class MESAFramebufferFlipX extends java.lang.Object
Native bindings to the MESA_framebuffer_flip_x extension.This extension defines a new framebuffer parameter,
FRAMEBUFFER_FLIP_X_MESA
, that changes the behavior of the reads and writes to the framebuffer attachment points. WhenGL_FRAMEBUFFER_FLIP_X_MESA
isTRUE
, render commands and pixel transfer operations access the backing store of each attachment point with an x-inverted coordinate system. This x-inversion is relative to the coordinate system set whenGL_FRAMEBUFFER_FLIP_X_MESA
isFALSE
.Access through
TexSubImage2D
and similar calls will notice the effect of the flip when they are not attached to framebuffer objects becauseGL_FRAMEBUFFER_FLIP_X_MESA
is associated with the framebuffer object and not the attachment points.This extension is mainly for pre-rotation and recommended to use it with
MESA_framebuffer_flip_y
andMESA_framebuffer_swap_xy
to have rotated result.Requires
OpenGL 4.3
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
GL_FRAMEBUFFER_FLIP_X_MESA
-
-
-
Field Detail
-
GL_FRAMEBUFFER_FLIP_X_MESA
public static final int GL_FRAMEBUFFER_FLIP_X_MESA
- See Also:
- Constant Field Values
-
-