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

  • No labels