Luanti 5.19.0-dev
Loading...
Searching...
No Matches
StaticLighting Struct Reference

#include <lighting.h>

Public Member Functions

bool operator== (const StaticLighting &other) const
bool operator!= (const StaticLighting &other) const

Public Attributes

bool light_curve_set = false
u8 light_curve [LIGHT_CURVE_SIZE]
float ao_gamma = 1.8f

Static Public Attributes

static constexpr int LIGHT_CURVE_SIZE = 16

Member Function Documentation

◆ operator!=()

bool StaticLighting::operator!= ( const StaticLighting & other) const
inline

◆ operator==()

bool StaticLighting::operator== ( const StaticLighting & other) const

Member Data Documentation

◆ ao_gamma

float StaticLighting::ao_gamma = 1.8f

◆ light_curve

u8 StaticLighting::light_curve[LIGHT_CURVE_SIZE]

Referenced by operator==().

◆ light_curve_set

bool StaticLighting::light_curve_set = false

Referenced by operator==().

◆ LIGHT_CURVE_SIZE

int StaticLighting::LIGHT_CURVE_SIZE = 16
staticconstexpr

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