JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.MutableGraphicsConfiguration Class Reference
Inheritance diagram for com.jogamp.nativewindow.MutableGraphicsConfiguration:
Collaboration diagram for com.jogamp.nativewindow.MutableGraphicsConfiguration:

Public Member Functions

 MutableGraphicsConfiguration (final AbstractGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested)
 
void setChosenCapabilities (final CapabilitiesImmutable caps)
 Set the capabilities to a new value. More...
 
void setScreen (final AbstractGraphicsScreen screen)
 Set a new screen. More...
 
- Public Member Functions inherited from com.jogamp.nativewindow.DefaultGraphicsConfiguration
 DefaultGraphicsConfiguration (final AbstractGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested)
 
Object clone ()
 
final AbstractGraphicsScreen getScreen ()
 Return the screen this graphics configuration is valid for. More...
 
final CapabilitiesImmutable getChosenCapabilities ()
 Return the capabilities reflecting this graphics configuration, which may differ from the capabilities used to choose this configuration. More...
 
final CapabilitiesImmutable getRequestedCapabilities ()
 Return the capabilities used to choose this graphics configuration. More...
 
AbstractGraphicsConfiguration getNativeGraphicsConfiguration ()
 In case the implementation utilizes a delegation pattern to wrap abstract toolkits, this method shall return the native AbstractGraphicsConfiguration, otherwise this instance. More...
 
final int getVisualID (final VIDType type) throws NativeWindowException
 Returns the native visual ID of the given type if supported, or VID_UNDEFINED if not supported. More...
 
final boolean isVisualIDSupported (final VIDType type)
 Returns true if the given VIDType is supported, otherwise false. More...
 
String toString ()
 
Object clone ()
 
AbstractGraphicsScreen getScreen ()
 Return the screen this graphics configuration is valid for. More...
 
CapabilitiesImmutable getChosenCapabilities ()
 Return the capabilities reflecting this graphics configuration, which may differ from the capabilities used to choose this configuration. More...
 
CapabilitiesImmutable getRequestedCapabilities ()
 Return the capabilities used to choose this graphics configuration. More...
 
AbstractGraphicsConfiguration getNativeGraphicsConfiguration ()
 In case the implementation utilizes a delegation pattern to wrap abstract toolkits, this method shall return the native AbstractGraphicsConfiguration, otherwise this instance. More...
 
int getVisualID (VIDType type) throws NativeWindowException
 Returns the native visual ID of the given type if supported, or VID_UNDEFINED if not supported. More...
 
boolean isVisualIDSupported (VIDType type)
 Returns true if the given VIDType is supported, otherwise false. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from com.jogamp.nativewindow.DefaultGraphicsConfiguration
static String toHexString (final int val)
 
static String toHexString (final long val)
 
- Static Public Attributes inherited from com.jogamp.nativewindow.VisualIDHolder
static final int VID_UNDEFINED = 0
 getVisualID(VIDType) result indicating an undefined value, which could be cause by an unsupported query. More...
 
void setChosenCapabilities (final CapabilitiesImmutable capsChosen)
 Set the capabilities to a new value. More...
 
void setScreen (final AbstractGraphicsScreen screen)
 Set a new screen. More...
 
- Protected Attributes inherited from com.jogamp.nativewindow.DefaultGraphicsConfiguration
CapabilitiesImmutable capabilitiesChosen
 
CapabilitiesImmutable capabilitiesRequested
 
- Static Protected Attributes inherited from com.jogamp.nativewindow.DefaultGraphicsConfiguration
static final boolean DEBUG = Debug.debug("GraphicsConfiguration")
 

Detailed Description

Definition at line 34 of file MutableGraphicsConfiguration.java.

Constructor & Destructor Documentation

◆ MutableGraphicsConfiguration()

com.jogamp.nativewindow.MutableGraphicsConfiguration.MutableGraphicsConfiguration ( final AbstractGraphicsScreen  screen,
final CapabilitiesImmutable  capsChosen,
final CapabilitiesImmutable  capsRequested 
)

Definition at line 35 of file MutableGraphicsConfiguration.java.

Member Function Documentation

◆ setChosenCapabilities()

void com.jogamp.nativewindow.MutableGraphicsConfiguration.setChosenCapabilities ( final CapabilitiesImmutable  capsChosen)

Set the capabilities to a new value.

The use case for setting the Capabilities at a later time is a change or re-validation of capabilities.

See also
com.jogamp.nativewindow.GraphicsConfigurationFactory::chooseGraphicsConfiguration(Capabilities, CapabilitiesChooser, AbstractGraphicsScreen)

Reimplemented from com.jogamp.nativewindow.DefaultGraphicsConfiguration.

Definition at line 41 of file MutableGraphicsConfiguration.java.

◆ setScreen()

void com.jogamp.nativewindow.MutableGraphicsConfiguration.setScreen ( final AbstractGraphicsScreen  screen)

Set a new screen.

the use case for setting a new screen at a later time is a change of the graphics device in a multi-screen environment.

Reimplemented from com.jogamp.nativewindow.DefaultGraphicsConfiguration.

Definition at line 46 of file MutableGraphicsConfiguration.java.


The documentation for this class was generated from the following file: