public interface GLCapabilitiesImmutable extends CapabilitiesImmutable
GLCapabilities
,
CapabilitiesImmutable
VisualIDHolder.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 for the accumulation
buffer's alpha component.
|
int |
getAccumBlueBits()
Returns the number of bits for the accumulation
buffer's blue component.
|
int |
getAccumGreenBits()
Returns the number of bits for the accumulation
buffer's green component.
|
int |
getAccumRedBits()
Returns the number of bits for the accumulation
buffer's red component.
|
int |
getDepthBits()
Returns the number of depth buffer bits.
|
boolean |
getDoubleBuffered()
Returns whether double-buffering is requested, available or chosen.
|
GLProfile |
getGLProfile()
Returns the GL profile you desire or used by the drawable.
|
boolean |
getHardwareAccelerated()
Returns whether hardware acceleration is requested, available or chosen.
|
int |
getNumSamples()
Returns the number of sample buffers to be allocated if sample
buffers are enabled, otherwise returns 0.
|
boolean |
getSampleBuffers()
Returns whether sample buffers for full-scene antialiasing
(FSAA) should be allocated for this drawable.
|
String |
getSampleExtension()
Returns the extension for full-scene antialiasing
(FSAA).
|
int |
getStencilBits()
Returns the number of stencil buffer bits.
|
boolean |
getStereo()
Returns whether stereo is requested, available or chosen.
|
int |
hashCode()
hash code over the immutable attributes of both objects
|
boolean |
isFBO()
Returns whether FBO offscreen mode is requested, available or chosen.
|
boolean |
isPBuffer()
Returns whether pbuffer offscreen mode is requested, available or chosen.
|
String |
toString()
Returns a textual representation of this object.
|
getAlphaBits, getBlueBits, getGreenBits, getRedBits, getTransparentAlphaValue, getTransparentBlueValue, getTransparentGreenValue, getTransparentRedValue, isBackgroundOpaque, isBitmap, isOnscreen, toString
getVisualID
cloneMutable
compareTo
static 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_NV
GLProfile getGLProfile()
int getAccumAlphaBits()
int getAccumBlueBits()
int getAccumGreenBits()
int getAccumRedBits()
int getDepthBits()
boolean getDoubleBuffered()
Default is true.
boolean getHardwareAccelerated()
Default is true.
String getSampleExtension()
Default is DEFAULT_SAMPLE_EXTENSION
.
boolean getSampleBuffers()
Default is false.
int getNumSamples()
Default is 0 due to disable sample buffers per default.
int getStencilBits()
Default is 0.
boolean getStereo()
Default is false.
boolean isPBuffer()
Default is false.
For chosen capabilities, only the selected offscreen surface is set to true
.
boolean isFBO()
Default is false.
For chosen capabilities, only the selected offscreen surface is set to true
.
boolean equals(Object obj)
CapabilitiesImmutable
equals
in interface CapabilitiesImmutable
equals
in class Object
int hashCode()
CapabilitiesImmutable
hashCode
in interface CapabilitiesImmutable
hashCode
in class Object
String toString()
CapabilitiesImmutable
toString
in interface CapabilitiesImmutable
toString
in class Object
Copyright 2010 JogAmp Community.