This is the documentation for Enlighten.

class Geo AtlasMeshPackingFlags

class Geo::AtlasMeshPackingFlags

This tells the packer how to parameterise your stuff.

Variables

Name Description
Geo::u32 m_BlockSize

The block size. Must be a power of 2 and greater than 1.

float m_ChartBorder

The minimum area around each chart that cannot be used. Usually 0.5.

const char * m_DebugOutputFile

[Optional] Pass a filename in here.

bool m_DebugOutputOverwrite

[Optional] If true, the debug file will be overwritten.

bool m_DisableOrientation

[Optional] Set this to true to disable chart orientation.

bool m_DisableScaling

[Optional] Set this to true to disable all scaling.

float m_Epsilon

This is subtracted from your charts to ensure they fit into the bounds.

bool m_ForceLSCM

If ABF provides poor results, use this alternative algorithm.

float m_MinimumTextureUsage

[Optional] If the amount of texture space is less than this, start all over again.

Geo::u32 m_Recursions

The maximum time the packer can try and repack.

Geo::u32 m_TextureHeight

The height of the texture you are packing into.

Geo::u32 m_TextureWidth

The width of the texture you are packing into.