@Deprecated
public class SwGLGraphicsConfig
extends java.lang.Object
An instance of SwGLGraphicsConfig encapsulates a GraphicsConfiguration object with specific OpenGL features.
The corresponding native structure will vary from platform to platform. For example, on X11 windowing systems, a SwGLGraphicsConfig represents a visual that supports specific OpenGL features. On Win32, SwGLGraphicsConfig represents a pixel format available at the current resolution and color depth that supports specific OpenGL features.
SwGLGraphicsEnvironment,
SwGLGraphicsConfigTemplate| Constructor and Description |
|---|
SwGLGraphicsConfig(SwGLGraphicsConfigTemplate glConfigTemplate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Deprecated.
Do not intent to use this method directly in your code.
|
static SwGLGraphicsConfig |
createGLGraphicsConfig(java.awt.GraphicsConfiguration gc)
Deprecated.
|
void |
dispose()
Deprecated.
Remove the native resource associated to this Gl Graphis config
|
boolean |
getAccelerated()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getAccumAlphaBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getAccumBlueBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getAccumGreenBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getAccumRedBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getColorAlphaBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getColorBlueBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getColorGreenBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
boolean |
getColorIndex()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getColorIndexBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getColorRedBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getDepthBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
boolean |
getDoubleBuffer()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getFullSceneAntialiasingNumSamples()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
java.awt.GraphicsConfiguration |
getGraphicsConfig()
Deprecated.
|
boolean |
getOverlays()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getStencilBits()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
boolean |
getStereo()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
int |
getVisualId()
Deprecated.
Platform dependent visual id.
|
boolean |
isAvailable()
Deprecated.
|
boolean |
isFullSceneAntialiasingEnabled()
Deprecated.
Accessor to the OpenGL features of the encapsulated
GraphicsConfiguration object |
public SwGLGraphicsConfig(SwGLGraphicsConfigTemplate glConfigTemplate)
@Deprecated public static SwGLGraphicsConfig createGLGraphicsConfig(java.awt.GraphicsConfiguration gc)
GLGraphicsConfiggc - the GraphicsConfiguration object to encapsulate in this new instanceGLGraphicsConfig object if gc supports OpenGL,
else returns null@Deprecated public java.awt.GraphicsConfiguration getGraphicsConfig()
GraphicsConfiguration objectpublic void activate()
public boolean isAvailable()
public boolean getDoubleBuffer()
GraphicsConfiguration objectpublic boolean getAccelerated()
GraphicsConfiguration objectpublic boolean getStereo()
GraphicsConfiguration objectpublic boolean getOverlays()
GraphicsConfiguration objectpublic boolean getColorIndex()
GraphicsConfiguration objectpublic int getColorIndexBits()
GraphicsConfiguration objectpublic int getColorRedBits()
GraphicsConfiguration objectpublic int getColorGreenBits()
GraphicsConfiguration objectpublic int getColorBlueBits()
GraphicsConfiguration objectpublic int getColorAlphaBits()
GraphicsConfiguration objectpublic int getDepthBits()
GraphicsConfiguration objectpublic int getAccumRedBits()
GraphicsConfiguration objectpublic int getAccumGreenBits()
GraphicsConfiguration objectpublic int getAccumBlueBits()
GraphicsConfiguration objectpublic int getAccumAlphaBits()
GraphicsConfiguration objectpublic int getStencilBits()
GraphicsConfiguration objectpublic boolean isFullSceneAntialiasingEnabled()
GraphicsConfiguration objectpublic int getFullSceneAntialiasingNumSamples()
GraphicsConfiguration objectpublic int getVisualId()
public void dispose()
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com