Interface GLCapabilitiesImmutable

    • Field Detail

      • DEFAULT_SAMPLE_EXTENSION

        static final String DEFAULT_SAMPLE_EXTENSION
        One of the platform's default sample extension EGL.EGL_SAMPLES, GLX.GLX_SAMPLES, WGLExt.WGL_SAMPLES_ARB if available, or any other known fallback one, ie EGLExt.EGL_COVERAGE_SAMPLES_NV
        See Also:
        Constant Field Values
    • Method Detail

      • getGLProfile

        GLProfile getGLProfile()
        Returns the GL profile you desire or used by the drawable.
      • getAccumAlphaBits

        int getAccumAlphaBits()
        Returns the number of bits for the accumulation buffer's alpha component. On some systems only the accumulation buffer depth, which is the sum of the red, green, and blue bits, is considered.
      • getAccumBlueBits

        int getAccumBlueBits()
        Returns the number of bits for the accumulation buffer's blue component. On some systems only the accumulation buffer depth, which is the sum of the red, green, and blue bits, is considered.
      • getAccumGreenBits

        int getAccumGreenBits()
        Returns the number of bits for the accumulation buffer's green component. On some systems only the accumulation buffer depth, which is the sum of the red, green, and blue bits, is considered.
      • getAccumRedBits

        int getAccumRedBits()
        Returns the number of bits for the accumulation buffer's red component. On some systems only the accumulation buffer depth, which is the sum of the red, green, and blue bits, is considered.
      • getDepthBits

        int getDepthBits()
        Returns the number of depth buffer bits.
      • getDoubleBuffered

        boolean getDoubleBuffered()
        Returns whether double-buffering is requested, available or chosen.

        Default is true.

      • getHardwareAccelerated

        boolean getHardwareAccelerated()
        Returns whether hardware acceleration is requested, available or chosen.

        Default is true.

      • getSampleBuffers

        boolean getSampleBuffers()
        Returns whether sample buffers for full-scene antialiasing (FSAA) should be allocated for this drawable.

        Default is false.

      • getNumSamples

        int getNumSamples()
        Returns the number of sample buffers to be allocated if sample buffers are enabled, otherwise returns 0.

        Default is 0 due to disable sample buffers per default.

      • getStencilBits

        int getStencilBits()
        Returns the number of stencil buffer bits.

        Default is 0.

      • getStereo

        boolean getStereo()
        Returns whether stereo is requested, available or chosen.

        Default is false.

      • isPBuffer

        boolean isPBuffer()
        Returns whether pbuffer offscreen mode is requested, available or chosen.

        Default is false.

        For chosen capabilities, only the selected offscreen surface is set to true.

      • isFBO

        boolean isFBO()
        Returns whether FBO offscreen mode is requested, available or chosen.

        Default is false.

        For chosen capabilities, only the selected offscreen surface is set to true.