|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Classes | |
| class | RectXComparator |
Public Member Functions | |
| Level (final int width, final int height, final int yPos, final LevelSet holder) | |
| int | w () |
| int | h () |
| int | yPos () |
| boolean | add (final Rect rect) |
| Tries to add the given rectangle to this level only allowing non-disruptive changes like trivial expansion of the last level in the RectanglePacker and allocation from the free list. More... | |
| boolean | remove (final Rect rect) |
| Removes the given Rect from this Level. More... | |
| boolean | isEmpty () |
| Indicates whether this Level contains no rectangles. More... | |
| boolean | couldAllocateIfCompacted (final Rect rect) |
| Indicates whether this Level could satisfy an allocation request if it were compacted. More... | |
| void | compact (final Object backingStore, final BackingStoreManager manager) |
| Iterator< Rect > | iterator () |
| void | visit (final RectVisitor visitor) |
| Visits all Rects contained in this Level. More... | |
| void | updateRectangleReferences () |
| Updates the references to the Rect objects in this Level with the "next locations" of those Rects. More... | |
| void | dumpFreeSpace () |
Definition at line 44 of file Level.java.
| com.jogamp.opengl.util.packrect.Level.Level | ( | final int | width, |
| final int | height, | ||
| final int | yPos, | ||
| final LevelSet | holder | ||
| ) |
Definition at line 67 of file Level.java.
| boolean com.jogamp.opengl.util.packrect.Level.add | ( | final Rect | rect | ) |
Tries to add the given rectangle to this level only allowing non-disruptive changes like trivial expansion of the last level in the RectanglePacker and allocation from the free list.
More disruptive changes like compaction of the level must be requested explicitly.
Definition at line 83 of file Level.java.
| void com.jogamp.opengl.util.packrect.Level.compact | ( | final Object | backingStore, |
| final BackingStoreManager | manager | ||
| ) |
Definition at line 183 of file Level.java.
| boolean com.jogamp.opengl.util.packrect.Level.couldAllocateIfCompacted | ( | final Rect | rect | ) |
Indicates whether this Level could satisfy an allocation request if it were compacted.
Definition at line 168 of file Level.java.
| void com.jogamp.opengl.util.packrect.Level.dumpFreeSpace | ( | ) |
Definition at line 263 of file Level.java.
| int com.jogamp.opengl.util.packrect.Level.h | ( | ) |
| boolean com.jogamp.opengl.util.packrect.Level.isEmpty | ( | ) |
Indicates whether this Level contains no rectangles.
Definition at line 162 of file Level.java.
| Iterator< Rect > com.jogamp.opengl.util.packrect.Level.iterator | ( | ) |
Definition at line 201 of file Level.java.
| boolean com.jogamp.opengl.util.packrect.Level.remove | ( | final Rect | rect | ) |
Removes the given Rect from this Level.
Definition at line 142 of file Level.java.
| void com.jogamp.opengl.util.packrect.Level.updateRectangleReferences | ( | ) |
Updates the references to the Rect objects in this Level with the "next locations" of those Rects.
This is actually used to update the new Rects in a newly laid-out LevelSet with the original Rects.
Definition at line 217 of file Level.java.
| void com.jogamp.opengl.util.packrect.Level.visit | ( | final RectVisitor | visitor | ) |
Visits all Rects contained in this Level.
Definition at line 206 of file Level.java.
| int com.jogamp.opengl.util.packrect.Level.w | ( | ) |
Definition at line 74 of file Level.java.
| int com.jogamp.opengl.util.packrect.Level.yPos | ( | ) |
Definition at line 76 of file Level.java.