java.lang.Object
com.marginallyclever.ro3.apps.viewport.renderpasses.AbstractRenderPass
com.marginallyclever.ro3.apps.viewport.renderpasses.DrawGroundPlane
All Implemented Interfaces:
com.jogamp.opengl.GLEventListener, RenderPass, EventListener

public class DrawGroundPlane extends AbstractRenderPass
Draw the ground plane.
  • Constructor Details

    • DrawGroundPlane

      public DrawGroundPlane()
  • Method Details

    • init

      public void init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
      Specified by:
      init in interface com.jogamp.opengl.GLEventListener
      Overrides:
      init in class AbstractRenderPass
    • dispose

      public void dispose(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
      Specified by:
      dispose in interface com.jogamp.opengl.GLEventListener
      Overrides:
      dispose in class AbstractRenderPass
    • draw

      public void draw(Viewport viewport)
      Description copied from interface: RenderPass
      Draw this viewport pass.
      Specified by:
      draw in interface RenderPass
      Overrides:
      draw in class AbstractRenderPass
      Parameters:
      viewport - the viewport to draw into