Package org.lwjgl.opengles
Class EXTShaderFramebufferFetchNonCoherent
- java.lang.Object
-
- org.lwjgl.opengles.EXTShaderFramebufferFetchNonCoherent
-
public class EXTShaderFramebufferFetchNonCoherent extends java.lang.ObjectNative bindings to the EXT_shader_framebuffer_fetch_non_coherent extension.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglFramebufferFetchBarrierEXT()Specifies a boundary between passes when reading existing framebuffer data from fragment shaders via thegl_LastFragDatabuilt-in variable.
-
-
-
Method Detail
-
glFramebufferFetchBarrierEXT
public static void glFramebufferFetchBarrierEXT()
Specifies a boundary between passes when reading existing framebuffer data from fragment shaders via thegl_LastFragDatabuilt-in variable. Previous framebuffer object writes regardless of the mechanism (including clears, blits and primitive rendering) are guaranteed to be visible to subsequent fragment shader invocations that read from the framebuffer onceFramebufferFetchBarrierEXTis executed.If
EXT_shader_framebuffer_fetchis also supported: Because the implementation guarantees coherency of framebuffer reads and writes for color outputs not explicitly marked with the noncoherent layout qualifier, calling theFramebufferFetchBarrierEXTcommand is not required unless the application wishes to manage memory ordering of framebuffer reads and writes explicitly, which may provide better performance on some implementations in cases where rendering can be split into multiple passes with non-self-overlapping geometry.
-
-