Versions Compared

Key

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

template<LightTypeId, typename Culler>
struct Enlighten::CullingIterator

Struct to iterate over the lights of a particular type, applying the culling operation.

It will then call itself on the next type of light

Functions

NameDescription
CullingIterator(SortedLights *, SortedLights *, const Culler &)

Constructor which does the iteration.

IterateLightsOfType(SortedLights *, SortedLights *, const Culler &)

Iterates over the given lights with the given culler.


Anchor
a1d7f0a35c630dcecd503e50a992bbd52
a1d7f0a35c630dcecd503e50a992bbd52

GEO_CONTROLLED_INLINE Enlighten::CullingIterator< LIGHT_TYPE_ID, Culler >::CullingIterator

...

public: GEO_CONTROLLED_INLINE CullingIterator
(
    SortedLights * dstLights,
    SortedLights * srcLights,
    const Culler & culler
)

...

Constructor which does the iteration.


Anchor
a2e92251c5487b5dae3d99edbf6a48f53
a2e92251c5487b5dae3d99edbf6a48f53

void Enlighten::CullingIterator< LIGHT_TYPE_ID, Culler >::IterateLightsOfType

...

public: void IterateLightsOfType
(
    SortedLights * dstLights,
    SortedLights * srcLights,
    const Culler & culler
)

...

Iterates over the given lights with the given culler.