![]() |
ezEngine Release 26.3
|
Template class for storing ambient lighting data in a cube format. More...
#include <AmbientCubeBasis.h>
Public Member Functions | |
| EZ_DECLARE_POD_TYPE () | |
| template<typename U > | |
| ezAmbientCube (const ezAmbientCube< U > &other) | |
| template<typename U > | |
| void | operator= (const ezAmbientCube< U > &other) |
| bool | operator== (const ezAmbientCube &other) const |
| bool | operator!= (const ezAmbientCube &other) const |
| void | AddSample (const ezVec3 &vDir, const T &value) |
| T | Evaluate (const ezVec3 &vNormal) const |
| ezResult | Serialize (ezStreamWriter &inout_stream) const |
| ezResult | Deserialize (ezStreamReader &inout_stream) |
| template<typename U > | |
| EZ_ALWAYS_INLINE | ezAmbientCube (const ezAmbientCube< U > &other) |
| template<typename U > | |
| EZ_FORCE_INLINE void | operator= (const ezAmbientCube< U > &other) |
Public Attributes | |
| T | m_Values [ezAmbientCubeBasis::NumDirs] |
Template class for storing ambient lighting data in a cube format.
Stores lighting values for six directions (the cardinal axes) to approximate ambient lighting. Values can be added via directional samples and evaluated for any normal direction using trilinear interpolation.