public interface JCGLColorBufferMaskingType
| Modifier and Type | Method and Description |
|---|---|
void |
colorBufferMask(boolean r,
boolean g,
boolean b,
boolean a)
Enable/disable writing to the given channels of the current color buffer.
|
boolean |
colorBufferMaskStatusAlpha() |
boolean |
colorBufferMaskStatusBlue() |
boolean |
colorBufferMaskStatusGreen() |
boolean |
colorBufferMaskStatusRed() |
void colorBufferMask(boolean r,
boolean g,
boolean b,
boolean a)
throws JCGLException
true for a given channel indicates that data will be
written to that channel.r - Enable/disable writing to the red channel of the color buffer.g - Enable/disable writing to the green channel of the color buffer.b - Enable/disable writing to the blue channel of the color buffer.a - Enable/disable writing to the alpha channel of the color buffer.JCGLException - Iff an OpenGL error occurs.boolean colorBufferMaskStatusAlpha()
throws JCGLException
true iff writing to the current color buffer will write to
the alpha channel.JCGLException - Iff an OpenGL error occurs.boolean colorBufferMaskStatusBlue()
throws JCGLException
true iff writing to the current color buffer will write to
the blue channel.JCGLException - Iff an OpenGL error occurs.boolean colorBufferMaskStatusGreen()
throws JCGLException
true iff writing to the current color buffer will write to
the green channel.JCGLException - Iff an OpenGL error occurs.boolean colorBufferMaskStatusRed()
throws JCGLException
true iff writing to the current color buffer will write to
the red channel.JCGLException - Iff an OpenGL error occurs.Copyright © 2016 <code@io7m.com> http://io7m.com