neuray API Programmer's Manual

mi::math::Spectrum_struct Struct Reference

[Color ClassSpectrum Class]

Description

Generic storage class template for a Spectrum representation storing three floating point elements. Used as base class for the mi::math::Spectrum class. Implementations should not rely on the specific implementation of Spectrum_struct, but instead use the more general access operations defined in the derived Spectrum class.

Public Variables

Float32 c[3]
Three color bands.

Variables

Float32 mi::​math::​Spectrum_struct::c[3]

Three color bands.