This is the documentation for Enlighten.

struct Enlighten SortedLightsVisitor

template<LightTypeId, typename Op, template< LightTypeId > class>
struct Enlighten::SortedLightsVisitor

Visitor construct to apply each operator to the relevant light types.

Functions

Name Description
IterateLightsOfType(const SortedLights *, Op &)

Iterate over the given lights and perform the given operation.

Visit(const SortedLights *, Op &)

Iterate over the given lights (filtered by the templated filter) and perform the given operation.


static void Enlighten::SortedLightsVisitor< LIGHT_TYPE_ID, Op, LightTypeFilter >::IterateLightsOfType


public: void IterateLightsOfType
(
    const SortedLights * sortedLights,
    Op & operation
)


Iterate over the given lights and perform the given operation.


static GEO_CONTROLLED_INLINE void Enlighten::SortedLightsVisitor< LIGHT_TYPE_ID, Op, LightTypeFilter >::Visit


public: GEO_CONTROLLED_INLINE void Visit
(
    const SortedLights * sortedLights,
    Op & operation
)


Iterate over the given lights (filtered by the templated filter) and perform the given operation.