Package com.jogamp.graph.ui
Interface TooltipShape.DestroyCallback
-
- Enclosing class:
- TooltipShape
public static interface TooltipShape.DestroyCallback
Optional HUD tipdestroy callback
for the user providedShape
, seeTooltip.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. useTooltipShape.NoOpDtor
.- See Also:
TooltipShape#TooltipShape(Vec2f, long, Shape, DestroyCallback)
,TooltipShape.createTip(Scene, AABBox)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy(TooltipShape tts, GL2ES2 gl, RegionRenderer renderer, Shape tip)
The custom destroy method ofTooltipShape.DestroyCallback
-
-
-
Method Detail
-
destroy
void destroy(TooltipShape tts, GL2ES2 gl, RegionRenderer renderer, Shape tip)
The custom destroy method ofTooltipShape.DestroyCallback
- Parameters:
tts
- the {#link TooltipShape} instancegl
- currentGL2ES2
renderer
- usedRegionRenderer
tip
- the user providedShape
as passed viaTooltipShape#TooltipShape(Vec4f, Vec4f, float, Vec2f, long, int, Shape, DestroyCallback)
.
-
-