diff options
Diffstat (limited to 'src')
-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> |