Class AMDFramebufferMultisampleAdvanced

java.lang.Object
org.lwjgl.opengles.AMDFramebufferMultisampleAdvanced

public class AMDFramebufferMultisampleAdvanced extends Object
Native bindings to the AMD_framebuffer_multisample_advanced extension.

This extension extends ARB_framebuffer_object by allowing compromises between image quality and memory footprint of multisample antialiasing.

ARB_framebuffer_object introduced RenderbufferStorageMultisample as a method of defining the parameters for a multisample render buffer. This function takes a samples parameter that has strict requirements on behavior such that no compromises in the final image quality are allowed. Additionally, ARB_framebuffer_object requires that all framebuffer attachments have the same number of samples.

This extension extends ARB_framebuffer_object by providing a new function, RenderbufferStorageMultisampleAdvancedAMD, that distinguishes between samples and storage samples for color renderbuffers where the number of storage samples can be less than the number of samples. This extension also allows non-matching sample counts between color and depth/stencil renderbuffers.

This extension does not require any specific combination of sample counts to be supported.

Requires GLES30.

  • Field Details

    • GL_RENDERBUFFER_STORAGE_SAMPLES_AMD

      public static final int GL_RENDERBUFFER_STORAGE_SAMPLES_AMD
      Accepted by the pname parameter of GetRenderbufferParameteriv.
      See Also:
    • GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD

      public static final int GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev.
      See Also:
    • GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD

      public static final int GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev.
      See Also:
    • GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD

      public static final int GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev.
      See Also:
    • GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD

      public static final int GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev.
      See Also:
    • GL_SUPPORTED_MULTISAMPLE_MODES_AMD

      public static final int GL_SUPPORTED_MULTISAMPLE_MODES_AMD
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev.
      See Also:
  • Method Details

    • glRenderbufferStorageMultisampleAdvancedAMD

      public static void glRenderbufferStorageMultisampleAdvancedAMD(int target, int samples, int storageSamples, int internalformat, int width, int height)
    • glNamedRenderbufferStorageMultisampleAdvancedAMD

      public static void glNamedRenderbufferStorageMultisampleAdvancedAMD(int renderbuffer, int samples, int storageSamples, int internalformat, int width, int height)