Versions Compared

Key

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

class Enlighten::MergeStats

Stats from the result of the merge.

Variables

NameDescription
float m_Final2dAreaPerc

The ratio of uv area after to before.

Geo::s32 m_NumGroupsAfter

The new number of groups.

Geo::s32 m_NumGroupsBefore

The original number of groups.

float m_TimeTakenSeconds

The amount of time the merge detection (not including uv gen) took in seconds.

float m_Total2dAreaAfter

Total uv area after (but doesn't account for overlaps - assumes uniquely mapped surfaces)

float m_Total2dAreaBefore

Total uv area before.

float m_Total3dArea

Total 3d surface area.

Geo::s32 m_UVOutputHeight

Heoght of the UV texture.

Geo::s32 m_UVOutputWidth

Width of the UV texture.

Geo::s32 m_VertCount

The number of verts we processed.

Functions

NameDescription
Clear()

Reset all stats to zero.

MergeStats()

Initialises to zero.


Anchor
a669621f235346816c476ae7228d8bfcb
a669621f235346816c476ae7228d8bfcb

void Enlighten::MergeStats::Clear

...

public: void Clear()

...

Reset all stats to zero.


Anchor
acfbb8ed881e4df1945cb0d788e2bf12f
acfbb8ed881e4df1945cb0d788e2bf12f

Enlighten::MergeStats::MergeStats

...

public: MergeStats()

...

Initialises to zero.