| public |
Inheritance Graph
graph BT
ColorBufferParameters
click ColorBufferParameters "classRendering_1_1ColorBufferParameters"
Description
Parameters of color buffer.
Abstraction layer class for the color buffer configuration. The OpenGL functions working with the color buffer settings are encapsulated inside.
Author: Benjamin Eikel
Date: 2012-02-16
See also: glColorMask
Public Functions
| ColorBufferParameters() Create ColorBufferParameters representing the default OpenGL state. |
|
| ColorBufferParameters(bool redWritingEnabled, bool greenWritingEnabled, bool blueWritingEnabled, bool alphaWritingEnabled) Create ColorBufferParameters with the given values. |
|
| bool | operator==(const ColorBufferParameters & other) const Return trueif the whole set of parameters isequalto theotherset. |
| bool | operator!=(const ColorBufferParameters & other) const Return trueif the whole set of parameters isunequalto theotherset. |
| bool | isRedWritingEnabled() const |
| bool | isGreenWritingEnabled() const |
| bool | isBlueWritingEnabled() const |
| bool | isAlphaWritingEnabled() const |
| bool | isAnyWritingEnabled() const |
Documentation
function
Rendering::ColorBufferParameters::ColorBufferParameters
| public | inline | explicit |
| ColorBufferParameters( | ) |
Create ColorBufferParameters representing the default OpenGL state.
Defined in Rendering/RenderingContext/RenderingParameters.h:343
function
Rendering::ColorBufferParameters::ColorBufferParameters
| public | inline | explicit |
| ColorBufferParameters( | bool | redWritingEnabled, |
| bool | greenWritingEnabled, | |
| bool | blueWritingEnabled, | |
| bool | alphaWritingEnabled | |
| ) |
Create ColorBufferParameters with the given values.
Defined in Rendering/RenderingContext/RenderingParameters.h:350
function
Rendering::ColorBufferParameters::operator==
| public | const | inline |
| bool operator==( | const ColorBufferParameters & | other ) const |
Returntrueif the whole set of parameters isequalto theotherset.
Defined in Rendering/RenderingContext/RenderingParameters.h:361
function
Rendering::ColorBufferParameters::operator!=
| public | const | inline |
| bool operator!=( | const ColorBufferParameters & | other ) const |
Returntrueif the whole set of parameters isunequalto theotherset.
Defined in Rendering/RenderingContext/RenderingParameters.h:368
function
Rendering::ColorBufferParameters::isRedWritingEnabled
| public | const | inline |
| bool isRedWritingEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:375
function
Rendering::ColorBufferParameters::isGreenWritingEnabled
| public | const | inline |
| bool isGreenWritingEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:378
function
Rendering::ColorBufferParameters::isBlueWritingEnabled
| public | const | inline |
| bool isBlueWritingEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:381
function
Rendering::ColorBufferParameters::isAlphaWritingEnabled
| public | const | inline |
| bool isAlphaWritingEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:384
function
Rendering::ColorBufferParameters::isAnyWritingEnabled
| public | const | inline |
| bool isAnyWritingEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:387