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

Immutable SurfaceSize Class, consisting of it's read only components:
More...

Inheritance diagram for com.jogamp.nativewindow.util.SurfaceSize:
Collaboration diagram for com.jogamp.nativewindow.util.SurfaceSize:

Public Member Functions

 SurfaceSize (final DimensionImmutable resolution, final int bitsPerPixel)
 
final DimensionImmutable getResolution ()
 Returns the resolution in pixel units. More...
 
final int getBitsPerPixel ()
 
final String toString ()
 
int compareTo (final SurfaceSize ssz)
 
final boolean equals (final Object obj)
 Checks whether two size objects are equal. More...
 
final int hashCode ()
 

Detailed Description

Immutable SurfaceSize Class, consisting of it's read only components:

Definition at line 39 of file SurfaceSize.java.

Constructor & Destructor Documentation

◆ SurfaceSize()

com.jogamp.nativewindow.util.SurfaceSize.SurfaceSize ( final DimensionImmutable  resolution,
final int  bitsPerPixel 
)

Definition at line 43 of file SurfaceSize.java.

Here is the caller graph for this function:

Member Function Documentation

◆ compareTo()

int com.jogamp.nativewindow.util.SurfaceSize.compareTo ( final SurfaceSize  ssz)

Compares resolution 1st, if equal the bitsPerPixel.

Definition at line 72 of file SurfaceSize.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equals()

final boolean com.jogamp.nativewindow.util.SurfaceSize.equals ( final Object  obj)

Checks whether two size objects are equal.

Two instances of SurfaceSize are equal if the two components resolution and bitsPerPixel are equal.

Returns
true if the two dimensions are equal; otherwise false.

Definition at line 95 of file SurfaceSize.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBitsPerPixel()

final int com.jogamp.nativewindow.util.SurfaceSize.getBitsPerPixel ( )

Definition at line 56 of file SurfaceSize.java.

Here is the caller graph for this function:

◆ getResolution()

final DimensionImmutable com.jogamp.nativewindow.util.SurfaceSize.getResolution ( )

Returns the resolution in pixel units.

Definition at line 52 of file SurfaceSize.java.

Here is the caller graph for this function:

◆ hashCode()

final int com.jogamp.nativewindow.util.SurfaceSize.hashCode ( )

Definition at line 106 of file SurfaceSize.java.

Here is the call graph for this function:

◆ toString()

final String com.jogamp.nativewindow.util.SurfaceSize.toString ( )

Definition at line 61 of file SurfaceSize.java.


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