This is the documentation for Enlighten.
struct Enlighten ShadeFourSamplesOperator
struct Enlighten::ShadeFourSamplesOperator
Visitor operator used to shade four samples for each light type.
Variables
Name | Description |
---|---|
Geo::v128 m_Colour0 | Result colours. |
Geo::v128 m_Colour1 | Result colours. |
Geo::v128 m_Colour2 | Result colours. |
Geo::v128 m_Colour3 | Result colours. |
const Geo::v128 & m_NormalsX | Input sample data. |
const Geo::v128 & m_NormalsY | Input sample data. |
const Geo::v128 & m_NormalsZ | Input sample data. |
const Geo::v128 & m_PositionsX | Input sample data. |
const Geo::v128 & m_PositionsY | Input sample data. |
const Geo::v128 & m_PositionsZ | Input sample data. |
const Geo::u32 & m_SampleIdx | Input sample data. |
Functions
Name | Description |
---|---|
operator()(const LightType &) | Shades all four samples. |
ShadeFourSamplesOperator(const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::u32 &) | Constructor. |
GEO_CONTROLLED_INLINE void Enlighten::ShadeFourSamplesOperator::operator()
public: GEO_CONTROLLED_INLINE void operator()
(
  const LightType & light
)
Shades all four samples.
GEO_CONTROLLED_INLINE Enlighten::ShadeFourSamplesOperator::ShadeFourSamplesOperator
public: GEO_CONTROLLED_INLINE ShadeFourSamplesOperator
(
  const Geo::v128 & positionsX,
  const Geo::v128 & positionsY,
  const Geo::v128 & positionsZ,
  const Geo::v128 & normalsX,
  const Geo::v128 & normalsY,
  const Geo::v128 & normalsZ,
  const Geo::u32 & sampleIdx
)
Constructor.