public interface GLCapabilitiesImmutable extends CapabilitiesImmutable
GLCapabilities,
CapabilitiesImmutableVisualIDHolder.VIDComparator, VisualIDHolder.VIDType| Modifier and Type | Field and Description |
|---|---|
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 |
VID_UNDEFINED| Modifier and Type | Method and Description |
|---|---|
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.
|
getAlphaBits, getBlueBits, getGreenBits, getRedBits, getTransparentAlphaValue, getTransparentBlueValue, getTransparentGreenValue, getTransparentRedValue, isBackgroundOpaque, isOnscreen, toStringgetVisualIDstatic final String 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_NVGLProfile getGLProfile()
int getAccumAlphaBits()
int getAccumBlueBits()
int getAccumGreenBits()
int getAccumRedBits()
int getDepthBits()
boolean getDoubleBuffered()
boolean getHardwareAccelerated()
String getSampleExtension()
DEFAULT_SAMPLE_EXTENSION.boolean getSampleBuffers()
int getNumSamples()
boolean getPbufferFloatingPointBuffers()
boolean getPbufferRenderToTexture()
boolean getPbufferRenderToTextureRectangle()
int getStencilBits()
boolean getStereo()
boolean isPBuffer()
boolean equals(Object obj)
javax.media.nativewindow.CapabilitiesImmutableequals in interface CapabilitiesImmutableequals in class Objectint hashCode()
javax.media.nativewindow.CapabilitiesImmutablehashCode in interface CapabilitiesImmutablehashCode in class ObjectString toString()
javax.media.nativewindow.CapabilitiesImmutabletoString in interface CapabilitiesImmutabletoString in class ObjectCopyright 2010 JogAmp Community.