Top Description Fields Methods
com.jogamp.opengl

public Interface GLCapabilitiesImmutable

extends CapabilitiesImmutable
Known Direct Implementers
com.jogamp.opengl.GLCapabilities
Imports
com.jogamp.nativewindow.CapabilitiesImmutable

Specifies an immutable set of OpenGL capabilities.
See Also
com.jogamp.opengl.GLCapabilities, com.jogamp.nativewindow.CapabilitiesImmutable

Field Summary

Modifier and TypeField and Description
public 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

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object obj)

Redeclares com.jogamp.nativewindow.CapabilitiesImmutable.equals.

Equality over the immutable attributes of both objects
public int
getAccumAlphaBits()

Returns the number of bits for the accumulation buffer's alpha component.

public int
getAccumBlueBits()

Returns the number of bits for the accumulation buffer's blue component.

public int
getAccumGreenBits()

Returns the number of bits for the accumulation buffer's green component.

public int
getAccumRedBits()

Returns the number of bits for the accumulation buffer's red component.

public int
getDepthBits()

Returns the number of depth buffer bits.

public boolean
getDoubleBuffered()

Returns whether double-buffering is requested, available or chosen.

public GLProfile
getGLProfile()

Returns the GL profile you desire or used by the drawable.

public boolean
getHardwareAccelerated()

Returns whether hardware acceleration is requested, available or chosen.

public int
getNumSamples()

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

public boolean
getSampleBuffers()

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

public String
getSampleExtension()

Returns the extension for full-scene antialiasing (FSAA).

public int
getStencilBits()

Returns the number of stencil buffer bits.

public boolean
getStereo()

Returns whether stereo is requested, available or chosen.

public int
hashCode()

Redeclares com.jogamp.nativewindow.CapabilitiesImmutable.hashCode.

hash code over the immutable attributes of both objects
public boolean
isFBO()

Returns whether FBO offscreen mode is requested, available or chosen.

public boolean
isPBuffer()

Returns whether pbuffer offscreen mode is requested, available or chosen.

public String
toString()

Redeclares com.jogamp.nativewindow.CapabilitiesImmutable.toString.

Returns a textual representation of this object.
Inherited from com.jogamp.nativewindow.CapabilitiesImmutable:
getAlphaBitsgetBlueBitsgetGreenBitsgetRedBitsgetTransparentAlphaValuegetTransparentBlueValuegetTransparentGreenValuegetTransparentRedValueisBackgroundOpaqueisBitmapisOnscreentoString

Field Detail

DEFAULT_SAMPLE_EXTENSIONback to summary
public 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

Method Detail

equalsback to summary
public boolean equals(Object obj)

Redeclares com.jogamp.nativewindow.CapabilitiesImmutable.equals.

Doc from com.jogamp.nativewindow.CapabilitiesImmutable.equals.

Equality over the immutable attributes of both objects

Annotations
@Override
getAccumAlphaBitsback to summary
public 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.

getAccumBlueBitsback to summary
public 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.

getAccumGreenBitsback to summary
public 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.

getAccumRedBitsback to summary
public 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.

getDepthBitsback to summary
public int getDepthBits()

Returns the number of depth buffer bits.

getDoubleBufferedback to summary
public boolean getDoubleBuffered()

Returns whether double-buffering is requested, available or chosen.

Default is true.

getGLProfileback to summary
public GLProfile getGLProfile()

Returns the GL profile you desire or used by the drawable.

getHardwareAcceleratedback to summary
public boolean getHardwareAccelerated()

Returns whether hardware acceleration is requested, available or chosen.

Default is true.

getNumSamplesback to summary
public 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.

getSampleBuffersback to summary
public boolean getSampleBuffers()

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

Default is false.

getSampleExtensionback to summary
public String getSampleExtension()

Returns the extension for full-scene antialiasing (FSAA).

Default is DEFAULT_SAMPLE_EXTENSION.

getStencilBitsback to summary
public int getStencilBits()

Returns the number of stencil buffer bits.

Default is 0.

getStereoback to summary
public boolean getStereo()

Returns whether stereo is requested, available or chosen.

Default is false.

hashCodeback to summary
public int hashCode()

Redeclares com.jogamp.nativewindow.CapabilitiesImmutable.hashCode.

Doc from com.jogamp.nativewindow.CapabilitiesImmutable.hashCode.

hash code over the immutable attributes of both objects

Annotations
@Override
isFBOback to summary
public 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.

isPBufferback to summary
public 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.

toStringback to summary
public String toString()

Redeclares com.jogamp.nativewindow.CapabilitiesImmutable.toString.

Doc from com.jogamp.nativewindow.CapabilitiesImmutable.toString.

Returns a textual representation of this object.

Annotations
@Override