Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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

Functions

NameDescription
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.


Anchor
a0185e6b2396d0226ea39f63c524fc770
a0185e6b2396d0226ea39f63c524fc770

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.


Anchor
ab373a9fb7ac6a62d24355b5c1f6f8969
ab373a9fb7ac6a62d24355b5c1f6f8969

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.