This is the documentation for Enlighten.

struct Enlighten CullingIterator

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

Name Description
CullingIterator(SortedLights *, SortedLights *, const Culler &)

Constructor which does the iteration.

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

Iterates over the given lights with the given culler.


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.


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.