JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.AbstractGraphicsConfiguration Interface Reference

A marker interface describing a graphics configuration, visual, or pixel format in a toolkit-independent manner. More...

Inheritance diagram for com.jogamp.nativewindow.AbstractGraphicsConfiguration:
Collaboration diagram for com.jogamp.nativewindow.AbstractGraphicsConfiguration:

Public Member Functions

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...
 
- Public Member Functions inherited from com.jogamp.nativewindow.VisualIDHolder
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 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...
 

Detailed Description

A marker interface describing a graphics configuration, visual, or pixel format in a toolkit-independent manner.

Definition at line 45 of file AbstractGraphicsConfiguration.java.

Member Function Documentation

◆ clone()

◆ getChosenCapabilities()

CapabilitiesImmutable com.jogamp.nativewindow.AbstractGraphicsConfiguration.getChosenCapabilities ( )

Return the capabilities reflecting this graphics configuration, which may differ from the capabilities used to choose this configuration.

Returns
An immutable instance of the Capabilities to avoid mutation by the user.

Implemented in com.jogamp.nativewindow.DefaultGraphicsConfiguration.

Here is the caller graph for this function:

◆ getNativeGraphicsConfiguration()

AbstractGraphicsConfiguration com.jogamp.nativewindow.AbstractGraphicsConfiguration.getNativeGraphicsConfiguration ( )

In case the implementation utilizes a delegation pattern to wrap abstract toolkits, this method shall return the native AbstractGraphicsConfiguration, otherwise this instance.

See also
NativeSurface::getGraphicsConfiguration()

Implemented in com.jogamp.nativewindow.awt.AWTGraphicsConfiguration, and com.jogamp.nativewindow.DefaultGraphicsConfiguration.

◆ getRequestedCapabilities()

CapabilitiesImmutable com.jogamp.nativewindow.AbstractGraphicsConfiguration.getRequestedCapabilities ( )

Return the capabilities used to choose this graphics configuration.

These may be used to reconfigure the NativeWindow in case the device changes in a multiple screen environment.

Returns
An immutable instance of the Capabilities to avoid mutation by the user.

Implemented in com.jogamp.nativewindow.DefaultGraphicsConfiguration.

Here is the caller graph for this function:

◆ getScreen()

AbstractGraphicsScreen com.jogamp.nativewindow.AbstractGraphicsConfiguration.getScreen ( )

Return the screen this graphics configuration is valid for.

Implemented in com.jogamp.nativewindow.DefaultGraphicsConfiguration.

Here is the caller graph for this function:

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