Versions Compared

Key

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

class Enlighten::SortedLights

A class used to produce a sorted, culled list of lights.

Variables

NameDescription
bool m_CanQuickShade

Can quick shade?

Geo::u32 m_PointerArraySize

The size of the pointer array located at (this+1)

bool m_RequiresUpdate

Requires update?

Geo::u32 m_TotalLights

Total number of lights.

LightTypeInfo m_TypeInfo[LIGHT_TYPE_NUM_TYPES]

Info for each light type.

Functions

NameDescription
GetSize()

Returns the size including post data.

SortedLights(SortedLights *, const Culler &)

Construct from another SortedLights while applying culling.

SortedLights(InputLightBase **, Geo::u32, void **)

Construct a sorted lights object from an unsorted list of lights. This culls lights which are disabled via the visibility pointer.


Anchor
ad2fa854556f0424d5a5b0090e941b9d9
ad2fa854556f0424d5a5b0090e941b9d9

size_t Enlighten::SortedLights::GetSize

...

public: size_t GetSize() const

...

Returns the size including post data.


Anchor
ab9e301d71ee749ca1ac0dff0786243fd
ab9e301d71ee749ca1ac0dff0786243fd

GEO_CONTROLLED_INLINE Enlighten::SortedLights::SortedLights

...

public: SortedLights
(
    SortedLights * sourceLights,
    const Culler & culler
)

...

Construct from another SortedLights while applying culling.

Construct a SortedLights object from another SortedLights object while applying culling.


Anchor
a520ca5439ef3fbae14688ff2c889da0a
a520ca5439ef3fbae14688ff2c889da0a

Enlighten::SortedLights::SortedLights

...

public: SortedLights
(
    InputLightBase ** unsortedLights,
    Geo::u32 numLights,
    void ** visibility
)

...

Construct a sorted lights object from an unsorted list of lights. This culls lights which are disabled via the visibility pointer.