GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::AmbientLightOptions3D Struct Reference

Configuration options for a 3D light source representing the ambient light in a scene, which adds an (unrealistic) constant amount of light to everything. More...

#include <GREM/graphics_3d/Lights3D.hpp>

Public Member Functions

constexpr bool operator== (const AmbientLightOptions3D &other) const noexcept=default
 Compare these options to another set of options for equality.

Public Attributes

Color color = Color::WHITE
 Color of the light, where the alpha component controls the light's intensity.

Detailed Description

Configuration options for a 3D light source representing the ambient light in a scene, which adds an (unrealistic) constant amount of light to everything.

Member Function Documentation

◆ operator==()

bool grem::graphics::AmbientLightOptions3D::operator== ( const AmbientLightOptions3D & other) const
nodiscardconstexprdefaultnoexcept

Compare these options to another set of options for equality.

Parameters
otherthe options to compare these to.
Returns
true if the options are equal, false otherwise.

Member Data Documentation

◆ color

Color grem::graphics::AmbientLightOptions3D::color = Color::WHITE

Color of the light, where the alpha component controls the light's intensity.


The documentation for this struct was generated from the following file: