Class DrawBoundingBoxes
java.lang.Object
com.marginallyclever.ro3.apps.viewport.renderpasses.AbstractRenderPass
com.marginallyclever.ro3.apps.viewport.renderpasses.DrawBoundingBoxes
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener
,RenderPass
,EventListener
Draw the bounding box of each
MeshInstance
in the scene.-
Field Summary
Fields inherited from interface com.marginallyclever.ro3.apps.viewport.RenderPass
ALWAYS, MAX_STATUS, NEVER, SOMETIMES
-
Constructor Summary
-
Method Summary
Methods inherited from class com.marginallyclever.ro3.apps.viewport.renderpasses.AbstractRenderPass
display, getActiveStatus, getName, reshape, setActiveStatus, setName
-
Constructor Details
-
DrawBoundingBoxes
public DrawBoundingBoxes()
-
-
Method Details
-
init
public void init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) - Specified by:
init
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
init
in classAbstractRenderPass
-
dispose
public void dispose(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) - Specified by:
dispose
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
dispose
in classAbstractRenderPass
-
draw
Description copied from interface:RenderPass
Draw this viewport pass.- Specified by:
draw
in interfaceRenderPass
- Overrides:
draw
in classAbstractRenderPass
- Parameters:
viewport
- the viewport to draw into
-