Class DrawStencilBuffer
java.lang.Object
com.marginallyclever.ro3.apps.viewport.renderpass.AbstractRenderPass
com.marginallyclever.ro3.apps.viewport.renderpass.DrawStencilBuffer
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener
,RenderPass
,EventListener
DrawStencilBuffer 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
Methods inherited from class com.marginallyclever.ro3.apps.viewport.renderpass.AbstractRenderPass
dispose, getActiveStatus, getName, init, setActiveStatus, setName
-
Constructor Details
-
DrawStencilBuffer
public DrawStencilBuffer()
-
-
Method Details
-
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
-