javax.media.opengl
Interface GLCapabilitiesImmutable

All Superinterfaces:
CapabilitiesImmutable, VisualIDHolder, WriteCloneable
All Known Implementing Classes:
GLCapabilities

public interface GLCapabilitiesImmutable
extends CapabilitiesImmutable

Specifies an immutable set of OpenGL capabilities.

See Also:
GLCapabilities, CapabilitiesImmutable

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.media.nativewindow.VisualIDHolder
VisualIDHolder.VIDComparator, VisualIDHolder.VIDType
 
Field Summary
static 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
 
Fields inherited from interface javax.media.nativewindow.VisualIDHolder
VID_UNDEFINED
 
Method Summary
 boolean equals(Object obj)
          Equality over the immutable attributes of both objects
 int getAccumAlphaBits()
          Returns the number of bits requested for the accumulation buffer's alpha component.
 int getAccumBlueBits()
          Returns the number of bits requested for the accumulation buffer's blue component.
 int getAccumGreenBits()
          Returns the number of bits requested for the accumulation buffer's green component.
 int getAccumRedBits()
          Returns the number of bits requested for the accumulation buffer's red component.
 int getDepthBits()
          Returns the number of bits requested for the depth buffer.
 boolean getDoubleBuffered()
          Indicates whether double-buffering is enabled.
 GLProfile getGLProfile()
          Returns the GL profile you desire or used by the drawable.
 boolean getHardwareAccelerated()
          Indicates whether hardware acceleration is enabled.
 int getNumSamples()
          Returns the number of sample buffers to be allocated if sample buffers are enabled.
 boolean getPbufferFloatingPointBuffers()
          For pbuffers only, returns whether floating-point buffers should be used if available.
 boolean getPbufferRenderToTexture()
          For pbuffers only, returns whether the render-to-texture extension should be used if available.
 boolean getPbufferRenderToTextureRectangle()
          For pbuffers only, returns whether the render-to-texture extension should be used.
 boolean getSampleBuffers()
          Returns whether sample buffers for full-scene antialiasing (FSAA) should be allocated for this drawable.
 String getSampleExtension()
          Returns the used extension for full-scene antialiasing (FSAA), default is DEFAULT_SAMPLE_EXTENSION.
 int getStencilBits()
          Returns the number of bits requested for the stencil buffer.
 boolean getStereo()
          Indicates whether stereo is enabled.
 int hashCode()
          hash code over the immutable attributes of both objects
 boolean isPBuffer()
          Indicates whether pbuffer is used/requested.
 String toString()
          Returns a textual representation of this object.
 
Methods inherited from interface javax.media.nativewindow.CapabilitiesImmutable
getAlphaBits, getBlueBits, getGreenBits, getRedBits, getTransparentAlphaValue, getTransparentBlueValue, getTransparentGreenValue, getTransparentRedValue, isBackgroundOpaque, isOnscreen, toString
 
Methods inherited from interface javax.media.nativewindow.VisualIDHolder
getVisualID
 
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
 

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 requested 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 requested 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 requested 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 requested 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 bits requested for the depth buffer.


getDoubleBuffered

boolean getDoubleBuffered()
Indicates whether double-buffering is enabled.


getHardwareAccelerated

boolean getHardwareAccelerated()
Indicates whether hardware acceleration is enabled.


getSampleExtension

String getSampleExtension()
Returns the used extension for full-scene antialiasing (FSAA), default is DEFAULT_SAMPLE_EXTENSION.


getSampleBuffers

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


getNumSamples

int getNumSamples()
Returns the number of sample buffers to be allocated if sample buffers are enabled. Defaults to 2.


getPbufferFloatingPointBuffers

boolean getPbufferFloatingPointBuffers()
For pbuffers only, returns whether floating-point buffers should be used if available. Defaults to false.


getPbufferRenderToTexture

boolean getPbufferRenderToTexture()
For pbuffers only, returns whether the render-to-texture extension should be used if available. Defaults to false.


getPbufferRenderToTextureRectangle

boolean getPbufferRenderToTextureRectangle()
For pbuffers only, returns whether the render-to-texture extension should be used. Defaults to false.


getStencilBits

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


getStereo

boolean getStereo()
Indicates whether stereo is enabled.


isPBuffer

boolean isPBuffer()
Indicates whether pbuffer is used/requested.


equals

boolean equals(Object obj)
Description copied from interface: CapabilitiesImmutable
Equality over the immutable attributes of both objects

Specified by:
equals in interface CapabilitiesImmutable
Overrides:
equals in class Object

hashCode

int hashCode()
Description copied from interface: CapabilitiesImmutable
hash code over the immutable attributes of both objects

Specified by:
hashCode in interface CapabilitiesImmutable
Overrides:
hashCode in class Object

toString

String toString()
Description copied from interface: CapabilitiesImmutable
Returns a textual representation of this object.

Specified by:
toString in interface CapabilitiesImmutable
Overrides:
toString in class Object


Copyright 2010 JogAmp Community.