This is the documentation for Enlighten.
struct Enlighten ShadeQuadOperator
struct Enlighten::ShadeQuadOperator
Visitor operator used to shade the quad for each light type.
Variables
Name | Description |
---|---|
const Geo::u32 & m_ClusterIdx | Input quad data. |
Geo::v128 m_Colour | Result colour. |
const Geo::v128 & m_NormalsX | Input quad data. |
const Geo::v128 & m_NormalsY | Input quad data. |
const Geo::v128 & m_NormalsZ | Input quad data. |
const Geo::v128 & m_PositionsX | Input quad data. |
const Geo::v128 & m_PositionsY | Input quad data. |
const Geo::v128 & m_PositionsZ | Input quad data. |
const Geo::u32 & m_QuadIdx | Input quad data. |
Functions
GEO_CONTROLLED_INLINE void Enlighten::ShadeQuadOperator::operator()
public: GEO_CONTROLLED_INLINE void operator()
(
const LightType & light
)
Shades the quad.
GEO_CONTROLLED_INLINE Enlighten::ShadeQuadOperator::ShadeQuadOperator
public: GEO_CONTROLLED_INLINE ShadeQuadOperator
(
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 & clusterIdx,
const Geo::u32 & quadIdx
)
Constructor.