Class DrawDepthBuffer
java.lang.Object
com.marginallyclever.ro3.apps.viewport.renderpass.AbstractRenderPass
com.marginallyclever.ro3.apps.viewport.renderpass.DrawDepthBuffer
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener
,RenderPass
,EventListener
DrawDepthBuffer
is a render pass that is responsible for rendering the stencil buffer to the viewport.-
Field Summary
Fields inherited from interface com.marginallyclever.ro3.apps.viewport.renderpass.RenderPass
ALWAYS, MAX_STATUS, NEVER, SOMETIMES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
display
(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) void
dispose
(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) void
Draw this viewport pass.void
init
(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) void
reshape
(com.jogamp.opengl.GLAutoDrawable glAutoDrawable, int x, int y, int width, int height) Methods inherited from class com.marginallyclever.ro3.apps.viewport.renderpass.AbstractRenderPass
getActiveStatus, getName, setActiveStatus, setName
-
Constructor Details
-
DrawDepthBuffer
public DrawDepthBuffer()
-
-
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
-
reshape
public void reshape(com.jogamp.opengl.GLAutoDrawable glAutoDrawable, int x, int y, int width, int height) - Specified by:
reshape
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
reshape
in classAbstractRenderPass
-
display
public void display(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) - Specified by:
display
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
display
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
-