|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Optional HUD tip destroy callback for the user provided Shape, see Tooltip#destroyTip(GL2ES2, RegionRenderer, Shape).
More...
Public Member Functions | |
| void | destroy (TooltipShape tts, final GL2ES2 gl, final RegionRenderer renderer, final Shape tip) |
The custom destroy method of DestroyCallback. More... | |
Optional HUD tip destroy callback for the user provided Shape, see Tooltip#destroyTip(GL2ES2, RegionRenderer, Shape).
In case no callback is being set via TooltipShape#TooltipShape(Vec2f, long, Shape, DestroyCallback) Tooltip#destroyTip(GL2ES2, RegionRenderer, Shape) destroys the shape. Otherwise this callback gets invoked.
In case user provided tip is reused within a DAG, the provided implementation shall do nothing, i.e. use TooltipShape#NoOpDtor.
Definition at line 63 of file TooltipShape.java.
| void com.jogamp.graph.ui.TooltipShape.DestroyCallback.destroy | ( | TooltipShape | tts, |
| final GL2ES2 | gl, | ||
| final RegionRenderer | renderer, | ||
| final Shape | tip | ||
| ) |
The custom destroy method of DestroyCallback.
| tts | the {#link TooltipShape} instance |
| gl | current GL2ES2 |
| renderer | used RegionRenderer |
| tip | the user provided Shape as passed via TooltipShape#TooltipShape(Vec4f, Vec4f, float, Vec2f, long, int, Shape, DestroyCallback). |