Package org.lwjgl.opengles
Class EXTShaderPixelLocalStorage2
- java.lang.Object
-
- org.lwjgl.opengles.EXTShaderPixelLocalStorage2
-
public class EXTShaderPixelLocalStorage2 extends java.lang.Object
Native bindings to the EXT_shader_pixel_local_storage2 extension.This extension builds on
EXT_shader_pixel_local_storage
by lifting the restriction that pixel local storage is not supported when rendering to multiple draw buffers.Moreover, pixel local storage values are no longer lost when writing to user-defined fragment outputs, and, correspondingly, framebuffer pixel values do not always become undefined when the shader writes to pixel local storage.
This extension adds the following capabilities:
- support for pixel local storage in combination with multiple user-defined fragment outputs
- support for clearing pixel local storage variables
- support for multi-word pixel local storage variables
-
-
Field Summary
Fields Modifier and Type Field Description static int
GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT
Returned by CheckFramebufferStatus.static int
GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT
GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXTAccepted by thepname
parameters of GetBooleanv, GetIntegerv, GetInteger64v, or GetFloatv.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
glClearPixelLocalStorageuiEXT(int offset, int[] values)
Array version of:ClearPixelLocalStorageuiEXT
static void
glClearPixelLocalStorageuiEXT(int offset, java.nio.IntBuffer values)
static void
glFramebufferPixelLocalStorageSizeEXT(int target, int size)
static int
glGetFramebufferPixelLocalStorageSizeEXT(int target)
static void
nglClearPixelLocalStorageuiEXT(int offset, int n, long values)
-
-
-
Field Detail
-
GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT, GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT
Accepted by thepname
parameters of GetBooleanv, GetIntegerv, GetInteger64v, or GetFloatv.
-
GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT
Returned by CheckFramebufferStatus.
-
-
Method Detail
-
glFramebufferPixelLocalStorageSizeEXT
public static void glFramebufferPixelLocalStorageSizeEXT(int target, int size)
-
glGetFramebufferPixelLocalStorageSizeEXT
public static int glGetFramebufferPixelLocalStorageSizeEXT(int target)
-
nglClearPixelLocalStorageuiEXT
public static void nglClearPixelLocalStorageuiEXT(int offset, int n, long values)
-
glClearPixelLocalStorageuiEXT
public static void glClearPixelLocalStorageuiEXT(int offset, java.nio.IntBuffer values)
-
glClearPixelLocalStorageuiEXT
public static void glClearPixelLocalStorageuiEXT(int offset, int[] values)
Array version of:ClearPixelLocalStorageuiEXT
-
-