Class EXTShaderPixelLocalStorage2

java.lang.Object
org.lwjgl.opengles.EXTShaderPixelLocalStorage2

public class EXTShaderPixelLocalStorage2 extends 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 Details

    • GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT

      public static final int GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT
      Accepted by the pname 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_EXT
      Accepted by the pname 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_EXT
      Returned 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

      public static void glClearPixelLocalStorageuiEXT(int offset, IntBuffer values)
    • glClearPixelLocalStorageuiEXT

      public static void glClearPixelLocalStorageuiEXT(int offset, int[] values)
      Array version of: ClearPixelLocalStorageuiEXT