public class GL3Viewer extends GLViewer
GLViewer.BlendFactor, GLViewer.GLVersion, GLViewer.RotationModeRenderer.ColorInterpolation, Renderer.ColorMixing, Renderer.DrawMode, Renderer.FaceStyle, Renderer.HighlightStyle, Renderer.LineStyle, Renderer.PointStyle, Renderer.ShadingAUTO_FIT, DEFAULT_DST_BLENDING, DEFAULT_ELLIPTIC_CURSOR_ACTIVE, DEFAULT_ELLIPTIC_CURSOR_SIZE, DEFAULT_ROTATION_MODE, DEFAULT_SRC_BLENDING, myProps, useGLJPanelHIGHLIGHT, SORT_FACES| Constructor and Description | 
|---|
| GL3Viewer(GL3Viewer shareWith,
         int width,
         int height)Creates a new GLViewer with default capabilities that shares resources
 (e.g., diplay lists and textures) with an existing GLViewer. | 
| GL3Viewer(com.jogamp.opengl.GLCapabilities cap,
         GL3SharedResources resources,
         int width,
         int height)Creates a new GLViewer with specified capabilities and size. | 
| GL3Viewer(int width,
         int height)Creates a new GLViewer with default capabilities. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | awaitScreenShotCompletion() | 
| void | cleanupScreenShots() | 
| void | display(com.jogamp.opengl.GLAutoDrawable drawable,
       int flags) | 
| void | dispose()MUST BE CALLED by whatever frame when it is going down, will notify any 
 shared resources that they can be cleared. | 
| void | dispose(com.jogamp.opengl.GLAutoDrawable drawable)Called any time GL context is switched! e.g. | 
| void | drawArrow(float[] pnt0,
         float[] pnt1,
         double rad,
         boolean capped)Draws a solid arrow between two points in model coordinates, 
 using the current shading and material. | 
| void | drawArrow(RenderProps props,
         float[] pnt0,
         float[] pnt1,
         boolean capped,
         boolean highlight)Draws an arrow between two points in model coordinates,
 using the radius, line color, and shading specified by the
 render properties argument  props. | 
| void | drawAxes(com.jogamp.opengl.GL3 gl,
        double len) | 
| void | drawAxes(RigidTransform3d X,
        double[] lens,
        int width,
        boolean highlight)Draws a set of coordinate axes representing a rigid coordinate frame 
  X. | 
| void | drawBox(float[] pnt,
       double wx,
       double wy,
       double wz)Draws an axis-aligned box in model coordinates, using the current 
 shading and material. | 
| void | drawBox(RigidTransform3d TBM,
       Vector3d widths)Draws a box centered on the specified transform in model coordinates,
 using the current shading and material. | 
| void | drawCone(float[] pnt0,
        float[] pnt1,
        double r0,
        double r1,
        boolean capped)Draws a cone between two points in model coordinates, 
 using the current shading and material. | 
| void | drawCube(float[] pnt,
        double w)Draws an axis-aligned cube with a specified width centered at a point
 in model coordinates, using the current shading and material. | 
| void | drawCylinder(float[] coords0,
            float[] coords1,
            double r,
            boolean capped)Draws a cylinder between two points in model coordinates, 
 using the current shading and material. | 
| void | drawInstances(RenderObject robj,
             RenderInstances rinst)Draw an object multiple times with differing per-instance information | 
| void | drawLine(float[] pnt0,
        float[] pnt1)Draws a single line between two points in model coordinates,
 using the current line width, material, and shading. | 
| void | drawLine(RenderProps props,
        float[] pnt0,
        float[] pnt1,
        float[] color,
        boolean capped,
        boolean highlight)Draws a single line between two points in model coordinates, using the
 line style, radius, line color, and shading specified by the render
 properties argument  props. | 
| void | drawLines(RenderObject robj,
         int gidx)Draws all the lines in the specified line group of the
 render object, using the current material and shading. | 
| void | drawLines(RenderObject robj,
         int gidx,
         int offset,
         int count,
         Renderer.LineStyle style,
         double rad)Draws a selection of lines in the specified line group of the supplied
 render object, using the current material and shading. | 
| void | drawLines(RenderObject robj,
         int gidx,
         RenderInstances rinst)Draw an object multiple times with differing per-instance information | 
| void | drawLineStrip(RenderProps props,
             java.lang.Iterable<float[]> pnts,
             Renderer.LineStyle style,
             boolean highlight)Draws a line strip between a series of points in model coordinates,
 using the radius, line color, and shading specified by the
 render properties argument  props, and the line
 style specified bystyle. | 
| void | drawPoint(float[] pnt)Draws a single point located at  pntin model coordinates,
 using the current point size, material, and shading. | 
| void | drawPoint(RenderProps props,
         float[] pnt,
         boolean highlight)Draws a single point located at  pntin model coordinates,
 using the point style, size, point color, and shading specified by the
 render properties argumentprops. | 
| void | drawPoints(RenderObject robj,
          int gidx)Draws all the points in the specified point group of the
 supplied render object, using the current material and shading. | 
| void | drawPoints(RenderObject robj,
          int gidx,
          int offset,
          int count,
          Renderer.PointStyle style,
          double rad)Draws a selection of points in the specified point group of the supplied
 render object, using the current material and shading. | 
| void | drawPoints(RenderObject robj,
          int gidx,
          RenderInstances rinst)Draw an object multiple times with differing per-instance information | 
| void | drawSphere(float[] pnt,
          double rad)Draws a sphere with a specified radius centered at a point
 in model coordinates, using the current shading and material. | 
| void | drawSpindle(float[] pnt0,
           float[] pnt1,
           double rad)Draws a spindle between two points in model coordinates, 
 using the current shading and material. | 
| double | drawText(java.awt.Font font,
        java.lang.String str,
        float[] pos,
        double emSize)Draws text in the x-y plane in model coordinates. | 
| void | drawTriangle(float[] pnt0,
            float[] pnt1,
            float[] pnt2)Draw triangular faces, using the current Shading, lighting and
 material, and computing a single "face" normal from the coordinates
 (so the current "shading" really matters only if it is
 Shading.NONE). | 
| void | drawTriangles(java.lang.Iterable<float[]> points) | 
| void | drawTriangles(RenderObject robj,
             int gidx,
             int offset,
             int count)Draws a selection of triangles in the specified triangle group of the
 render object, using the current material and shading. | 
| void | drawTriangles(RenderObject robj,
             int gidx,
             RenderInstances rinst)Draw an object multiple times with differing per-instance information | 
| void | drawVertices(RenderObject robj,
            int[] idxs,
            Renderer.DrawMode mode) | 
| void | drawVertices(RenderObject robj,
            Renderer.DrawMode mode)Draws all the vertices associated with the specified RenderObject,
 using a specified drawing mode and the current material and shading. | 
| void | drawVertices(RenderObject robj,
            VertexIndexArray idxs,
            int offset,
            int count,
            Renderer.DrawMode mode)Draws a selection of vertices associated with the specified RenderObject,
 using a specified drawing mode and the current material and shading. | 
| GLTextRenderer | getTextRenderer() | 
| boolean | grabPending() | 
| boolean | hasBumpMapping()Queries whether or not this renderer supports bump mapping. | 
| boolean | hasColorMapMixing(Renderer.ColorMixing cmix)Queries whether or not a specified method for combining color
 map and material coloring is supported by this Renderer. | 
| boolean | hasColorMapping()Queries whether or not this renderer supports color mapping. | 
| boolean | hasNormalMapping()Queries whether or not this renderer supports normal mapping. | 
| boolean | hasVertexColorMixing(Renderer.ColorMixing cmix)Queries whether or not a specified method for combining vertex coloring
 and material coloring is supported by this Renderer. | 
| void | init(com.jogamp.opengl.GLAutoDrawable drawable)Called any time GL context is switched! e.g. | 
| void | maybeUpdateMaterials() | 
| void | setShaderOverride(java.lang.Object shaderKey,
                 java.io.File[] vf) | 
| int | setSurfaceResolution(int nres)Sets the resolution used for creating mesh representations
 of curved solids. | 
| void | setupScreenShot(int w,
               int h,
               java.io.File file,
               java.lang.String format) | 
| void | setupScreenShot(int w,
               int h,
               int samples,
               java.io.File file,
               java.lang.String format)Setup for a screenshot during the next render cycle | 
| void | useProgram(com.jogamp.opengl.GL3 gl,
          java.lang.Object key) | 
addClipPlane, addClipPlane, addClipPlane, addDragger, addKeyListener, addLight, addLight, addMouseInputListener, addMouseWheelListener, addRenderable, addRenderListener, addSelectionListener, addVertex, addVertex, addVertex, addVertex, autoFit, autoFitOrtho, autoFitPerspective, begin2DRendering, begin2DRendering, begin2DRendering, beginDraw, beginGL, beginSelectionQuery, beginSubSelection, centerDistancePerPixel, clearClipPlanes, clearDraggers, clearPickMatrix, clearRenderables, display, distancePerPixel, draw, drawArrow, drawAxes, drawBox, drawCone, drawCube, drawCylinder, drawLine, drawLine, drawLine, drawLine, drawLines, drawLines, drawLines, drawPoint, drawPoint, drawPoints, drawPoints, drawPoints, drawSolidAxes, drawSolidAxes, drawSphere, drawSpindle, drawText, drawText, drawText, drawTriangle, drawTriangles, drawTriangles, drawVertices, end2DRendering, endDraw, endGL, endSelectionQuery, endSubSelection, estimateRadiusAndCenter, finish2DRendering, getAllPropertyInfo, getAutoSwapBufferMode, getAxialView, getAxisLength, getBackColor, getBackgroundColor, getBackgroundColor, getBlendDestFactor, getBlendSourceFactor, getBounds, getBumpMap, getCanvas, getCellDivisions, getCellSize, getCenter, getCenterToWorld, getClipPlane, getClipPlanes, getColor, getColorInterpolation, getColorMap, getContext, getDefaultAxialView, getDefaultFont, getDepthOffset, getDraggers, getEllipticCursorActive, getEllipticCursorSize, getEllipticSelection, getEmission, getExternalRenderList, getEye, getEyeToWorld, getEyeZDirection, getFaceStyle, getFarPlaneDistance, getFrontColor, getFrustum, getGL, getGrid, getGridVisible, getHighlightColor, getHighlighting, getHighlightStyle, getIndexOfLight, getKeyListeners, getLight, getLineWidth, getMaxGLClipPlanes, getModelMatrix, getModelMatrix, getModelMatrix, getMouseHandler, getMouseInputListeners, getMouseWheelListeners, getNormalMap, getNumClipPlanes, getPointSize, getProfiling, getProjectionMatrix, getProjectionMatrix, getProperty, getRenderFlags, getRenderListeners, getRotationMode, getRoundedPoints, getScreenHeight, getScreenWidth, getScreenX, getScreenY, getSelectingColor, getSelectionEvent, getSelectionFilter, getSelectionListeners, getSelectOnPress, getShading, getShininess, getSolidAxes, getSpecular, getSurfaceResolution, getTextBounds, getTextureMatrix, getTextureMatrix, getTransparencyFaceCulling, getUpVector, getVertexColorMixing, getVerticalFieldOfView, getViewMatrix, getViewMatrix, getViewMatrix, getViewPlaneDistance, getViewPlaneHeight, getViewPlaneWidth, has2DRendering, hasHighlightStyle, hasSelection, hasTextRendering, hasVertexColoring, is2DRendering, isAutoResizeEnabled, isAutoViewportEnabled, isBlendingEnabled, isDepthEnabled, isDepthWriteEnabled, isLightingEnabled, isMultiSampleEnabled, isOrthogonal, isSelectable, isSelecting, isSelectionEnabled, isSpecialRenderFlagsSet, isTextureMappingEnabled, isTransparencyEnabled, isVertexColoringEnabled, mulModelMatrix, numFreeClipPlanes, numLights, numMultiSamples, numSelectionQueriesNeeded, paint, popModelMatrix, popProjectionMatrix, popTextureMatrix, popViewMatrix, pushModelMatrix, pushProjectionMatrix, pushTextureMatrix, pushViewMatrix, removeClipPlane, removeDragger, removeKeyListener, removeLight, removeLight, removeMouseInputListener, removeMouseWheelListener, removeRenderable, removeRenderListener, removeSelectionListener, repaint, rerender, rerender, resetEllipticCursorSize, reshape, restoreDefaultState, rotate, rotateModelMatrix, scaleModelMatrix, scaleModelMatrix, setAutoResizeEnabled, setAutoSwapBufferMode, setAutoViewportEnabled, setAxialView, setAxisLength, setBackColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBlendDestFactor, setBlendingEnabled, setBlendSourceFactor, setBumpMap, setCenter, setColor, setColor, setColor, setColor, setColor, setColorInterpolation, setColorMap, setDefaultAxialView, setDefaultFont, setDefaultLights, setDepthEnabled, setDepthOffset, setDepthWriteEnabled, setDrawTool, setEdgeColoring, setEllipticCursorActive, setEllipticCursorSize, setEllipticSelection, setEmission, setExternalRenderList, setEye, setEyeToWorld, setEyeToWorld, setFaceColoring, setFaceColoring, setFaceStyle, setFrontAlpha, setFrontColor, setGlobalRenderFlags, setGridVisible, setHighlightColor, setHighlighting, setHighlightStyle, setLightingEnabled, setLineColoring, setLineShading, setLineWidth, setMaterial, setModelMatrix, setModelMatrix2d, setMouseHandler, setMultiSampleEnabled, setNormal, setNormal, setNormal, setNormalMap, setOrthogonal, setOrthogonal, setOrthographicView, setPerspective, setPerspective, setPerspective, setPointColoring, setPointShading, setPointSize, setProfiling, setPropsColoring, setPropsShading, setRotationMode, setRoundedPoints, setSelectingColor, setSelectingColor, setSelectionEnabled, setSelectionFilter, setSelectOnPress, setShading, setShininess, setSolidAxes, setSpecular, setTextureCoord, setTextureCoord, setTextureCoord, setTextureMappingEnabled, setTextureMatrix, setTransparencyEnabled, setTransparencyFaceCulling, setUpVector, setVertexColoringEnabled, setVertexColorMixing, setVerticalFieldOfView, setViewMatrix, setViewport, setViewVolume, translateModelMatrix, translateModelMatrix, zoompublic GL3Viewer(int width,
                 int height)
width - initial width of the viewerheight - initial height of the viewerpublic GL3Viewer(GL3Viewer shareWith, int width, int height)
shareWith - GLViewer with which resources are to be sharedwidth - initial width of the viewerheight - initial height of the viewerpublic GL3Viewer(com.jogamp.opengl.GLCapabilities cap,
                 GL3SharedResources resources,
                 int width,
                 int height)
cap - Desired GL capabilities. Can be specified as null, which will create
 default capabilities.resources - Resources to be used by the viewer.
 Can be specified as null, which will create
 default resources.width - initial width of the viewerheight - initial height of the viewerpublic void init(com.jogamp.opengl.GLAutoDrawable drawable)
GLViewerpublic void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
GLViewerpublic void dispose()
GLViewerpublic void display(com.jogamp.opengl.GLAutoDrawable drawable,
                    int flags)
public GLTextRenderer getTextRenderer()
getTextRenderer in class GLViewerpublic double drawText(java.awt.Font font,
                       java.lang.String str,
                       float[] pos,
                       double emSize)
Rendererfont - the font to use.  The font size largely impacts
 the resolution of the renderer characters.  A value of at least
 32pt is recommended.str - string to renderpos - position of the lower left of the text box (model coordinates)emSize - size of an `em' unit in model coordinatespublic void setupScreenShot(int w,
                            int h,
                            int samples,
                            java.io.File file,
                            java.lang.String format)
GLViewersetupScreenShot in class GLViewerw - width of shoth - height of shotsamples - number of samples to use for the
        multisample FBO (does antialiasing)file - file to which the screen shot should be writtenformat - format stringpublic void setupScreenShot(int w,
                            int h,
                            java.io.File file,
                            java.lang.String format)
setupScreenShot in class GLViewerpublic void awaitScreenShotCompletion()
awaitScreenShotCompletion in class GLViewerpublic boolean grabPending()
grabPending in class GLViewerpublic void cleanupScreenShots()
cleanupScreenShots in class GLViewerpublic void maybeUpdateMaterials()
maybeUpdateMaterials in class GLViewerpublic void drawSphere(float[] pnt,
                       double rad)
RendererRenderer.drawSphere(Vector3d,double).pnt - center of the sphererad - radius of the spherepublic void drawCube(float[] pnt,
                     double w)
Rendererpnt - center of the cubew - width of the cubepublic void drawBox(float[] pnt,
                    double wx,
                    double wy,
                    double wz)
Rendererpnt - center of the boxwx - width in xwy - width in ywz - width in zpublic void drawBox(RigidTransform3d TBM, Vector3d widths)
RendererTBM - transform from box to model coordinates on which
 the box is centeredwidths - x,y,z widths of the boxpublic void drawSpindle(float[] pnt0,
                        float[] pnt1,
                        double rad)
RendererRenderer.getSurfaceResolution().pnt0 - first end pointpnt1 - second end pointrad - radius of the spindlepublic void drawCylinder(float[] coords0,
                         float[] coords1,
                         double r,
                         boolean capped)
RendererRenderer.getSurfaceResolution().coords0 - first end pointcoords1 - second end pointr - radius of the cylindercapped - if true, indicates that the cylinder
 should have a solid cap on each endpublic void drawCone(float[] pnt0,
                     float[] pnt1,
                     double r0,
                     double r1,
                     boolean capped)
RendererRenderer.getSurfaceResolution().pnt0 - first end pointpnt1 - second end pointr0 - radius at first end pointr1 - radius at second end pointcapped - if true, indicates that the cone
 should have a solid cap on each endpublic void setShaderOverride(java.lang.Object shaderKey,
                              java.io.File[] vf)
public void useProgram(com.jogamp.opengl.GL3 gl,
                       java.lang.Object key)
public void drawLine(RenderProps props, float[] pnt0, float[] pnt1, float[] color, boolean capped, boolean highlight)
Rendererprops. This method is functionally
 equivalent to Renderer.drawLine(RenderProps,float[],float[],boolean),
 except for the additional control provided by the arguments
 color and capped.props - render properties used for drawing the linepnt0 - first pointpnt1 - second pointcolor - if not null, specifies an alternate
 color that should be used in place of the line color specified
 in propscapped - if true, specifies that the line
 should have a solid cap on its ends for 
 styles such as Renderer.LineStyle.CYLINDER and @link LineStyle#ARROW}highlight - if true, indicates that highlighting, if
 enabled, should be applied to the linepublic void drawArrow(float[] pnt0,
                      float[] pnt1,
                      double rad,
                      boolean capped)
Rendererrad, topped with a conical arrow
 head pointing towards the second end point. The arrow head has
 a base radius of 3*rad and length given by
 min (6*rad, len/2)
wherelen is the distance between the two end points.
 The resolution is specified by Renderer.getSurfaceResolution().pnt0 - first end pointpnt1 - second end pointrad - radius of the cylindercapped - if true, indicates that the arrow
 should have a solid cap on the bottompublic void drawArrow(RenderProps props, float[] pnt0, float[] pnt1, boolean capped, boolean highlight)
Rendererprops. The method
 behaves similarly to 
 Renderer.drawArrow(float[],float[],double,boolean),
 with the cylinder radius determine instead by
 props.getLineRadius().props - render properties used for drawing the arrowpnt0 - first pointpnt1 - second pointcapped - if true, specifies that the arrow
 should have a solid cap on the bottomhighlight - if true, indicates that highlighting, if
 enabled, should be applied to the arrowpublic void drawPoint(RenderProps props, float[] pnt, boolean highlight)
Rendererpnt in model coordinates,
 using the point style, size, point color, and shading specified by the
 render properties argument props. 
 
 If props.getPointStyle()
 specifies a point style of Renderer.PointStyle.POINT, then the 
 point is drawn as a pixel-based point with a size given by
 props.getPointSize(). Otherwise, if the point style
 is Renderer.PointStyle.CUBE or Renderer.PointStyle.SPHERE, then the 
 point is drawn as a solid with a radius given by
 props.getPointRadius(). If highlight
 is true and the highlight style is
 Renderer.HighlightStyle.COLOR, then the point will
 be drawn using the highlight color rather than the point color
 specified in props.
props - render properties used for drawing the pointpnt - location of the pointhighlight - if true, indicates that highlighting, if
 enabled, should be applied to the pointpublic void drawAxes(com.jogamp.opengl.GL3 gl,
                     double len)
public void drawAxes(RigidTransform3d X, double[] lens, int width, boolean highlight)
RendererX. This method is functionally equivalent to Renderer.drawAxes(RigidTransform3d,double,int,boolean), except that the
 lengths for each axis are individually specified. Axes with a
 a specified length of 0 will not be drawn.X - coordinate frame defining the axeslens - lengths for each axiswidth - width of each axis (in pixels)highlight - if true, indicates that the axes should be
 highlighted.public void drawLineStrip(RenderProps props, java.lang.Iterable<float[]> pnts, Renderer.LineStyle style, boolean highlight)
Rendererprops, and the line
 style specified by style.
 
 If the line style is Renderer.LineStyle.LINE, then the 
 strip is drawn using pixel-based lines with a width given by
 props.getLineWidth(). For other line styles,
 the strip is drawn as solids with a nominal radius given by 
 props.getLineRadius(). If highlight
 is true and the highlight style is
 Renderer.HighlightStyle.COLOR, then the strip will
 be drawn using the highlight color rather than the line color
 specified in props.
props - render properties used for drawing the strippnts - list of points used for drawing the stripstyle - line style to be used for the striphighlight - if true, indicates that highlighting, if
 enabled, should be applied to the strippublic int setSurfaceResolution(int nres)
RenderersetSurfaceResolution in interface RenderersetSurfaceResolution in class GLViewernres - resolution for curved surfacespublic void drawPoint(float[] pnt)
Rendererpnt in model coordinates,
 using the current point size, material, and shading. This method
 is functionally equivalent to Renderer.drawPoint(Vector3d).pnt - array (of length 3) giving the point to drawpublic void drawLine(float[] pnt0,
                     float[] pnt1)
RendererRenderer.drawLine(Vector3d,Vector3d).pnt0 - array (of length 3) giving the first pointpnt1 - array (of length 3) giving the second pointpublic void drawTriangle(float[] pnt0,
                         float[] pnt1,
                         float[] pnt2)
pnt0 - first pointpnt1 - second pointpnt2 - third pointpublic void drawTriangles(java.lang.Iterable<float[]> points)
public void drawTriangles(RenderObject robj, int gidx, int offset, int count)
Rendererrobj - render objectgidx - triangle group indexoffset - triangle offset at which to start renderingcount - number of triangles to drawpublic void drawLines(RenderObject robj, int gidx)
Rendererrobj - render objectgidx - line group indexpublic void drawPoints(RenderObject robj, int gidx)
Rendererrobj - render objectgidx - point group indexpublic void drawVertices(RenderObject robj, Renderer.DrawMode mode)
Rendererrobj - render objectmode - drawing mode to be used for drawing the verticespublic void drawVertices(RenderObject robj, VertexIndexArray idxs, int offset, int count, Renderer.DrawMode mode)
RendererVertexIndexArray can detect whether or not it has been modified,
 which allows for caching.  Additionally, this method allows specification of
 an offset and vertex count.robj - render objectidxs - vertex indicesoffset - index offsetcount - index countmode - drawing mode to be used for drawing the verticespublic void drawVertices(RenderObject robj, int[] idxs, Renderer.DrawMode mode)
public void drawLines(RenderObject robj, int gidx, int offset, int count, Renderer.LineStyle style, double rad)
RendererRenderer.LineStyle.LINE, the argument rad gives the line width,
 whereas for solid primitives (Renderer.LineStyle.CYLINDER, Renderer.LineStyle.SOLID_ARROW, Renderer.LineStyle.SPINDLE), it gives
 the nominal radius.robj - render objectgidx - line group indexoffset - line offset at which to begin drawingcount - number of lines to drawstyle - line style to use for drawingrad - radius for solid lines or width for pixel-based linespublic void drawPoints(RenderObject robj, int gidx, int offset, int count, Renderer.PointStyle style, double rad)
RendererRenderer.PointStyle.POINT, the argument rad gives the point size,
 whereas for Renderer.PointStyle.CUBE it gives the cube half-width, and for
 Renderer.PointStyle.SPHERE it gives the sphere radius.robj - render objectgidx - point group indexoffset - point offset at which to begin within the point groupcount - number of points to drawstyle - point style to use for drawingrad - radius for spheres or width for pixel-based pointspublic void drawInstances(RenderObject robj, RenderInstances rinst)
robj - render objectrinst - render instance infopublic void drawPoints(RenderObject robj, int gidx, RenderInstances rinst)
robj - render objectgidx - point group indexrinst - render instance infopublic void drawLines(RenderObject robj, int gidx, RenderInstances rinst)
robj - render objectgidx - line group indexrinst - render instance infopublic void drawTriangles(RenderObject robj, int gidx, RenderInstances rinst)
robj - render objectgidx - triangle group indexrinst - render instancespublic boolean hasVertexColorMixing(Renderer.ColorMixing cmix)
RendererhasVertexColorMixing in interface RendererhasVertexColorMixing in class GLViewertrue if the color mixing method is supportedpublic boolean hasColorMapMixing(Renderer.ColorMixing cmix)
RendererhasColorMapMixing in interface RendererhasColorMapMixing in class GLViewertrue if the color mixing method is supportedpublic boolean hasColorMapping()
Renderertrue if color mapping is supported.public boolean hasNormalMapping()
Renderertrue if normal mapping is supported.public boolean hasBumpMapping()
Renderertrue if bump mapping is supported.