From ea4938a5e82332382c493044cbbd691e17743fb2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 19 Mar 2023 07:42:43 +0100 Subject: Graph Shape: Add missing drawGLSelect(..) --- src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/graphui/classes/com/jogamp') diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java index 8b7d2be98..140ac8cc8 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java @@ -256,6 +256,11 @@ public abstract class Shape { return region; } + /** Experimental OpenGL selection draw command used by {@link Scene}. */ + public void drawGLSelect(final GL2ES2 gl, final RegionRenderer renderer, final int[] sampleCount) { + getRegion(gl).draw(gl, renderer, sampleCount); + } + /** * Renders {@link OutlineShape} using local {@link GLRegion} which might be cached or updated. *

-- cgit v1.2.3