diff options
author | Sven Gothel <[email protected]> | 2023-03-19 07:42:43 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-19 07:42:43 +0100 |
commit | ea4938a5e82332382c493044cbbd691e17743fb2 (patch) | |
tree | 7f36db34eef6f67e7b3bec890e9c4a53becd8fb2 | |
parent | 25e9a5ea1fc95fc58117c67df7928755166d7748 (diff) |
Graph Shape: Add missing drawGLSelect(..)
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java | 5 |
1 files changed, 5 insertions, 0 deletions
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. * <p> |