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