public |
Inheritance Graph
graph BT
LightingParameters
click LightingParameters "classRendering_1_1LightingParameters"
Description
Parameters of lighting.
Abstraction layer class for the lighting configuration. The OpenGL functions working with the lighting settings are encapsulated inside.
Author: Benjamin Eikel
Date: 2012-02-16
Public Functions
LightingParameters() Create LightingParameters representing the default OpenGL state. |
|
LightingParameters(bool enableLighting) Create LightingParameters with the given values. |
|
bool | operator==(const LightingParameters & other) const Return true if the whole set of parameters isequalto theotherset. |
bool | operator!=(const LightingParameters & other) const Return true if the whole set of parameters isunequalto theotherset. |
bool | isEnabled() const |
void | enable() |
void | disable() |
Documentation
function
Rendering::LightingParameters::LightingParameters
public | inline | explicit |
LightingParameters( | ) |
Create LightingParameters representing the default OpenGL state.
Defined in Rendering/RenderingContext/RenderingParameters.h:548
function
Rendering::LightingParameters::LightingParameters
public | inline | explicit |
LightingParameters( | bool | enableLighting ) |
Create LightingParameters with the given values.
Defined in Rendering/RenderingContext/RenderingParameters.h:551
function
Rendering::LightingParameters::operator==
public | const | inline |
bool operator==( | const LightingParameters & | other ) const |
Returntrue
if the whole set of parameters isequalto theotherset.
Defined in Rendering/RenderingContext/RenderingParameters.h:555
function
Rendering::LightingParameters::operator!=
public | const | inline |
bool operator!=( | const LightingParameters & | other ) const |
Returntrue
if the whole set of parameters isunequalto theotherset.
Defined in Rendering/RenderingContext/RenderingParameters.h:559
function
Rendering::LightingParameters::isEnabled
public | const | inline |
bool isEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:563
function
Rendering::LightingParameters::enable
public | inline |
void enable( | ) |
Defined in Rendering/RenderingContext/RenderingParameters.h:566
function
Rendering::LightingParameters::disable
public | inline |
void disable( | ) |
Defined in Rendering/RenderingContext/RenderingParameters.h:569