Package org.lwjgl.opengles
Class OESDrawBuffersIndexed
java.lang.Object
org.lwjgl.opengles.OESDrawBuffersIndexed
Native bindings to the OES_draw_buffers_indexed extension.
This extension builds upon the EXT_draw_buffers extension. In EXT_draw_buffers (part of OpenGL ES 3.0), separate values could be written to each color buffer, but the blend enable, blend functions, blend equations and color write masks are global and apply to all color outputs.
This extension provides the ability to independently
- enable or disable blending
- set the blend equations
- set the blend functions, and
- set the color write masks per color output.
This extension introduces indexed versions of the enable, blend equation, blend function, and color mask commands, as well as associated indexed queries in order to control and query these states independently on a per-color output basis.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glBlendEquationiOES
(int buf, int mode) static void
glBlendEquationSeparateiOES
(int buf, int modeRGB, int modeAlpha) static void
glBlendFunciOES
(int buf, int src, int dst) static void
glBlendFuncSeparateiOES
(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) static void
glColorMaskiOES
(int index, boolean r, boolean g, boolean b, boolean a) static void
glDisableiOES
(int target, int index) static void
glEnableiOES
(int target, int index) static boolean
glIsEnablediOES
(int target, int index)
-
Method Details
-
glEnableiOES
public static void glEnableiOES(int target, int index) -
glDisableiOES
public static void glDisableiOES(int target, int index) -
glBlendEquationiOES
public static void glBlendEquationiOES(int buf, int mode) -
glBlendEquationSeparateiOES
public static void glBlendEquationSeparateiOES(int buf, int modeRGB, int modeAlpha) -
glBlendFunciOES
public static void glBlendFunciOES(int buf, int src, int dst) -
glBlendFuncSeparateiOES
public static void glBlendFuncSeparateiOES(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) -
glColorMaskiOES
public static void glColorMaskiOES(int index, boolean r, boolean g, boolean b, boolean a) -
glIsEnablediOES
public static boolean glIsEnablediOES(int target, int index)
-