Package com.jogamp.graph.ui
Interface TooltipShape.DestroyCallback
-
- Enclosing class:
- TooltipShape
public static interface TooltipShape.DestroyCallbackOptional HUD tipdestroy callbackfor 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
tipis 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 voiddestroy(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- currentGL2ES2renderer- usedRegionRenderertip- the user providedShapeas passed viaTooltipShape#TooltipShape(Vec4f, Vec4f, float, Vec2f, long, int, Shape, DestroyCallback).
-
-