Class AbstractRenderPass
java.lang.Object
com.marginallyclever.ro3.apps.viewport.renderpass.AbstractRenderPass
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener,RenderPass,EventListener
- Direct Known Subclasses:
DrawBackground,DrawBoundingBoxes,DrawCameras,DrawDepthBuffer,DrawDHParameters,DrawJoints,DrawMeshes,DrawPoses,DrawStencilBuffer
AbstractRenderPass handles common methods for all RenderPass.-
Field Summary
Fields inherited from interface com.marginallyclever.ro3.apps.viewport.renderpass.RenderPass
ALWAYS, MAX_STATUS, NEVER, SOMETIMES -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) voiddispose(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) voidDraw this viewport pass.intgetName()voidinit(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) voidreshape(com.jogamp.opengl.GLAutoDrawable glAutoDrawable, int x, int y, int width, int height) voidsetActiveStatus(int status) void
-
Method Details
-
setName
-
getName
- Specified by:
getNamein interfaceRenderPass- Returns:
- the localized name of this pass.
-
getActiveStatus
public int getActiveStatus()- Specified by:
getActiveStatusin interfaceRenderPass- Returns:
- NEVER, SOMETIMES, or ALWAYS
-
setActiveStatus
public void setActiveStatus(int status) - Specified by:
setActiveStatusin interfaceRenderPass- Parameters:
status- NEVER, SOMETIMES, or ALWAYS
-
draw
Description copied from interface:RenderPassDraw this viewport pass.- Specified by:
drawin interfaceRenderPass- Parameters:
viewport- the viewport to draw into
-
init
public void init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) - Specified by:
initin interfacecom.jogamp.opengl.GLEventListener
-
dispose
public void dispose(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) - Specified by:
disposein interfacecom.jogamp.opengl.GLEventListener
-
display
public void display(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) - Specified by:
displayin interfacecom.jogamp.opengl.GLEventListener
-
reshape
public void reshape(com.jogamp.opengl.GLAutoDrawable glAutoDrawable, int x, int y, int width, int height) - Specified by:
reshapein interfacecom.jogamp.opengl.GLEventListener
-