Package org.lwjgl.opengles
Class EXTShaderPixelLocalStorage2
java.lang.Object
org.lwjgl.opengles.EXTShaderPixelLocalStorage2
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
FieldsModifier and TypeFieldDescriptionstatic final int
Returned by CheckFramebufferStatus.static final int
Accepted by thepname
parameters of GetBooleanv, GetIntegerv, GetInteger64v, or GetFloatv.static final int
Accepted by thepname
parameters of GetBooleanv, GetIntegerv, GetInteger64v, or GetFloatv. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
glClearPixelLocalStorageuiEXT
(int offset, int[] values) Array version of:ClearPixelLocalStorageuiEXT
static void
glClearPixelLocalStorageuiEXT
(int offset, IntBuffer values) static void
glFramebufferPixelLocalStorageSizeEXT
(int target, int size) static int
glGetFramebufferPixelLocalStorageSizeEXT
(int target) static void
nglClearPixelLocalStorageuiEXT
(int offset, int n, long values)
-
Field Details
-
GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT
public static final int GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXTAccepted by thepname
parameters of GetBooleanv, GetIntegerv, GetInteger64v, or GetFloatv.- See Also:
-
GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT
public static final int GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXTAccepted by thepname
parameters of GetBooleanv, GetIntegerv, GetInteger64v, or GetFloatv.- See Also:
-
GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT
public static final int GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXTReturned by CheckFramebufferStatus.- See Also:
-
-
Method Details
-
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
-
glClearPixelLocalStorageuiEXT
public static void glClearPixelLocalStorageuiEXT(int offset, int[] values) Array version of:ClearPixelLocalStorageuiEXT
-