|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Immutable surfaceSize, flags and refreshRate Class, consisting of it's read only components:
More...
Public Member Functions | |
| SizeAndRRate (final SurfaceSize surfaceSize, final float refreshRate, final int flags) | |
| final String | toString () |
| int | compareTo (final SizeAndRRate sszr) |
| final boolean | equals (final Object obj) |
Tests equality of two SizeAndRRate objects by evaluating equality of it's components:More... | |
| final int | hashCode () |
| Returns a combined hash code of it's elements: More... | |
Static Public Member Functions | |
| static final StringBuilder | flags2String (final int flags) |
Public Attributes | |
| final SurfaceSize | surfaceSize |
| Non rotated surface size in pixel units. More... | |
| final int | flags |
| Mode bitfield flags, i.e. More... | |
| final float | refreshRate |
| Vertical refresh rate. More... | |
| final int | hashCode |
Immutable surfaceSize, flags and refreshRate Class, consisting of it's read only components:
SurfaceSize surface memory size flags refresh rate Definition at line 138 of file MonitorMode.java.
| com.jogamp.newt.MonitorMode.SizeAndRRate.SizeAndRRate | ( | final SurfaceSize | surfaceSize, |
| final float | refreshRate, | ||
| final int | flags | ||
| ) |
| int com.jogamp.newt.MonitorMode.SizeAndRRate.compareTo | ( | final SizeAndRRate | sszr | ) |
Compares surfaceSize 1st, then flags, then refreshRate.
Flags are compared as follows:
NONE > DOUBLESCAN > INTERLACE
Refresh rate differences of < 0.01 are considered equal (epsilon).
Definition at line 198 of file MonitorMode.java.
| final boolean com.jogamp.newt.MonitorMode.SizeAndRRate.equals | ( | final Object | obj | ) |
Tests equality of two SizeAndRRate objects by evaluating equality of it's components:
surfaceSize refreshRate flags Definition at line 235 of file MonitorMode.java.
|
static |
| final int com.jogamp.newt.MonitorMode.SizeAndRRate.hashCode | ( | ) |
Returns a combined hash code of it's elements:
surfaceSize flags refreshRate Definition at line 255 of file MonitorMode.java.
| final String com.jogamp.newt.MonitorMode.SizeAndRRate.toString | ( | ) |
| final int com.jogamp.newt.MonitorMode.SizeAndRRate.flags |
Mode bitfield flags, i.e.
FLAG_DOUBLESCAN, FLAG_INTERLACE, ..
Definition at line 142 of file MonitorMode.java.
| final int com.jogamp.newt.MonitorMode.SizeAndRRate.hashCode |
Definition at line 145 of file MonitorMode.java.
| final float com.jogamp.newt.MonitorMode.SizeAndRRate.refreshRate |
Vertical refresh rate.
Definition at line 144 of file MonitorMode.java.
| final SurfaceSize com.jogamp.newt.MonitorMode.SizeAndRRate.surfaceSize |
Non rotated surface size in pixel units.
Definition at line 140 of file MonitorMode.java.