This is the documentation for Enlighten.
class Enlighten ClusterMaterials
class Enlighten::ClusterMaterials
Enlighten internal implementation for cluster albedo materials.
Runtime mapping between duster and albedo data.
Classes
Name | Description |
|---|---|
Number of dusters and a material index which is assigned to them. |
Functions
Name | Description |
|---|---|
Convert the endian-ness of this ClusterMaterials. | |
Raw access to the cluster material indices array. | |
Raw access to the cluster material indices array. | |
Raw access to the cluster material pixels array. | |
Raw access to the cluster material pixels array. | |
Raw access to the cluster material pixel weights array. | |
Raw access to the cluster material pixel weights array. | |
Raw access to the material IDs array. | |
Raw access to the material IDs array. | |
Raw access the the num materials array. | |
Raw access the the num materials array. |
Variables
Name | Description |
|---|---|
Geo::u32 m_ClusterMaterialIndicesOffset | Array of ClusterMaterialCount (x SUM{matsInCluster}) |
Geo::u32 m_ClusterMaterialPixelsOffset | Array of ClusterMaterialPixels. |
Geo::u32 m_ClusterMaterialPixelWeightsOffset | Array of weights for cluster materials. |
Geo::u32 m_ClusterNumMaterialsOffset | Array of u16 (x numClusters) |
Geo::u32 m_MaterialIdsOffset | Array of u64 (x numMaterials) |
Geo::s32 m_NumClusters | Num clusters. |
Geo::s32 m_NumMaterials | Num materials. |
Geo::s32 m_NumPixels | Num pixels. |
Geo::u32 m_ObjectSize | Size of this object in bytes. |
Geo::u32 m_Padding[3] | Unused padding. |
void Enlighten::ClusterMaterials::ConvertEndian
public: void ConvertEndian
(
Geo::EConvertEndianMode mode
)