Class 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 Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • glFramebufferPixelLocalStorageSizeEXT

        public static void glFramebufferPixelLocalStorageSizeEXT(int target,
                                                                 int size)
      • glGetFramebufferPixelLocalStorageSizeEXT

        public static int glGetFramebufferPixelLocalStorageSizeEXT(int target)
      • glClearPixelLocalStorageuiEXT

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

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