DiscreteSPD< N > Struct Template Reference

#include <spectrum.h>

Public Attributes

Float p [N] {}
 

Detailed Description

template<int N>
struct DiscreteSPD< N >

Base template type for spectrum class.

This class is an abstract of discrete spectrum power distribution. utilized in various class (e.g., BSDF) for representing basic quantities of light transport.

TODO: Implement general version.

Template Parameters
NNumber of elements in the spectrum.