JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser Class Reference

Custom GLCapabilitiesChooser, filtering out all full screen anti-aliasing (FSAA, multisample) capabilities, i.e. More...

Inheritance diagram for com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser:
Collaboration diagram for com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser:

Public Member Functions

 NonFSAAGLCapsChooser (final boolean verbose)
 
 NonFSAAGLCapsChooser ()
 
int chooseCapabilities (final CapabilitiesImmutable desired, final List<? extends CapabilitiesImmutable > available, int recommendedIdx)
 Chooses the index (0..available.length - 1) of the Capabilities most closely matching the desired one from the list of all supported. More...
 
int chooseCapabilities (final CapabilitiesImmutable desired, final List<? extends CapabilitiesImmutable > available, final int windowSystemRecommendedChoice)
 Chooses the index (0..available.length - 1) of the Capabilities most closely matching the desired one from the list of all supported. More...
 
int chooseCapabilities (CapabilitiesImmutable desired, List<? extends CapabilitiesImmutable > available, int windowSystemRecommendedChoice)
 Chooses the index (0..available.length - 1) of the Capabilities most closely matching the desired one from the list of all supported. More...
 

Detailed Description

Custom GLCapabilitiesChooser, filtering out all full screen anti-aliasing (FSAA, multisample) capabilities, i.e.

all matching GLCapabilitiesImmutable with GLCapabilitiesImmutable#getSampleBuffers().

Definition at line 42 of file NonFSAAGLCapsChooser.java.

Constructor & Destructor Documentation

◆ NonFSAAGLCapsChooser() [1/2]

com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser.NonFSAAGLCapsChooser ( final boolean  verbose)

Definition at line 44 of file NonFSAAGLCapsChooser.java.

◆ NonFSAAGLCapsChooser() [2/2]

com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser.NonFSAAGLCapsChooser ( )

Definition at line 47 of file NonFSAAGLCapsChooser.java.

Member Function Documentation

◆ chooseCapabilities()

int com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser.chooseCapabilities ( final CapabilitiesImmutable  desired,
final List<? extends CapabilitiesImmutable available,
int  windowSystemRecommendedChoice 
)

Chooses the index (0..available.length - 1) of the Capabilities most closely matching the desired one from the list of all supported.

Some of the entries in the available array may be null; the chooser must ignore these. The windowSystemRecommendedChoice parameter may be provided to the chooser by the underlying window system; if this index is valid, it is recommended, but not necessarily required, that the chooser select that entry.

Note: this method is called automatically by the GraphicsConfigurationFactory#chooseGraphicsConfiguration method when an instance of this class is passed in to it. It should generally not be invoked by users directly, unless it is desired to delegate the choice to some other CapabilitiesChooser object.

Reimplemented from com.jogamp.opengl.DefaultGLCapabilitiesChooser.

Definition at line 52 of file NonFSAAGLCapsChooser.java.

Here is the call graph for this function:

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