This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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


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.

  • No labels