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 »

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.

  • No labels