public interface JCGLScissorType
Modifier and Type | Method and Description |
---|---|
void |
scissorDisable()
Disable the scissor test in the OpenGL pipeline.
|
void |
scissorEnable(com.io7m.jregions.core.unparameterized.areas.AreaL area)
Set the OpenGL scissor region to the given inclusive area.
|
boolean |
scissorIsEnabled() |
void scissorDisable() throws JCGLException
JCGLException
- Iff an OpenGL error occursvoid scissorEnable(com.io7m.jregions.core.unparameterized.areas.AreaL area) throws JCGLException
(0, 0)
refers to the
bottom left corner of the viewport.area
- The inclusive areaJCGLException
- Iff an OpenGL error occurredboolean scissorIsEnabled() throws JCGLException
true
iff scissor testing is enabled.JCGLException
- Iff an OpenGL error occurredCopyright © 2017 <code@io7m.com> http://io7m.com