Versions Compared

Key

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

class Enlighten::ClusterMaterials

Enlighten internal implementation for cluster albedo materials.

Runtime mapping between duster and albedo data.

Classes

NameDescription
Enlighten::ClusterMaterials::ClusterMaterialCount

Number of dusters and a material index which is assigned to them.

Functions

NameDescription
ConvertEndian(Geo::EConvertEndianMode)

Convert the endian-ness of this ClusterMaterials.

GetClusterMaterialIndicesArray()

Raw access to the cluster material indices array.

GetClusterMaterialIndicesArray()

Raw access to the cluster material indices array.

GetClusterMaterialPixelsArray()

Raw access to the cluster material pixels array.

GetClusterMaterialPixelsArray()

Raw access to the cluster material pixels array.

GetClusterMaterialPixelWeightsArray()

Raw access to the cluster material pixel weights array.

GetClusterMaterialPixelWeightsArray()

Raw access to the cluster material pixel weights array.

GetMaterialIds()

Raw access to the material IDs array.

GetMaterialIds()

Raw access to the material IDs array.

GetNumMaterialsArray()

Raw access the the num materials array.

GetNumMaterialsArray()

Raw access the the num materials array.

Variables

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


Anchor
a62749e726f2c8f611fdf891cd3f759fe
a62749e726f2c8f611fdf891cd3f759fe

void Enlighten::ClusterMaterials::ConvertEndian

...

public: void ConvertEndian
(
    Geo::EConvertEndianMode mode
)

...

Convert the endian-ness of this ClusterMaterials.


Anchor
a0087a8b6f81e77c5755ef432e3337ff1
a0087a8b6f81e77c5755ef432e3337ff1

ClusterMaterialCount* Enlighten::ClusterMaterials::GetClusterMaterialIndicesArray

...

public: ClusterMaterialCount * GetClusterMaterialIndicesArray()

...

Raw access to the cluster material indices array.


Anchor
aaa7a1cd646ab4c7da1efe8306cae6a0b
aaa7a1cd646ab4c7da1efe8306cae6a0b

const ClusterMaterialCount* Enlighten::ClusterMaterials::GetClusterMaterialIndicesArray

...

public: const ClusterMaterialCount * GetClusterMaterialIndicesArray() const

...

Raw access to the cluster material indices array.


Anchor
ab516d128dfcd053f5f4901b425b74742
ab516d128dfcd053f5f4901b425b74742

PixelCoord* Enlighten::ClusterMaterials::GetClusterMaterialPixelsArray

...

public: PixelCoord * GetClusterMaterialPixelsArray()

...

Raw access to the cluster material pixels array.


Anchor
a8cfe625c87767f365e194035e0e66a8f
a8cfe625c87767f365e194035e0e66a8f

const PixelCoord* Enlighten::ClusterMaterials::GetClusterMaterialPixelsArray

...

public: const PixelCoord * GetClusterMaterialPixelsArray() const

...

Raw access to the cluster material pixels array.


Anchor
a5fdee8d164b4752a54a56abac43ec0ec
a5fdee8d164b4752a54a56abac43ec0ec

Geo::u16* Enlighten::ClusterMaterials::GetClusterMaterialPixelWeightsArray

...

public: Geo::u16 * GetClusterMaterialPixelWeightsArray()

...

Raw access to the cluster material pixel weights array.


Anchor
a5fcd64299f4b95e8cb73c411f1a020ee
a5fcd64299f4b95e8cb73c411f1a020ee

const Geo::u16* Enlighten::ClusterMaterials::GetClusterMaterialPixelWeightsArray

...

public: const Geo::u16 * GetClusterMaterialPixelWeightsArray() const

...

Raw access to the cluster material pixel weights array.


Anchor
a465391f423d79d36ae9b14829bed7656
a465391f423d79d36ae9b14829bed7656

Geo::u64* Enlighten::ClusterMaterials::GetMaterialIds

...

public: Geo::u64 * GetMaterialIds()

...

Raw access to the material IDs array.


Anchor
ab862822acb42fac3a8716c1397897076
ab862822acb42fac3a8716c1397897076

const Geo::u64* Enlighten::ClusterMaterials::GetMaterialIds

...

public: const Geo::u64 * GetMaterialIds() const

...

Raw access to the material IDs array.


Anchor
a1d18280205e4d807e3086a779f4fe0c6
a1d18280205e4d807e3086a779f4fe0c6

Geo::u16* Enlighten::ClusterMaterials::GetNumMaterialsArray

...

public: Geo::u16 * GetNumMaterialsArray()

...

Raw access the the num materials array.


Anchor
aeb90f2aaf51f543e100a99727413b89d
aeb90f2aaf51f543e100a99727413b89d

const Geo::u16* Enlighten::ClusterMaterials::GetNumMaterialsArray

...

public: const Geo::u16 * GetNumMaterialsArray() const

...

Raw access the the num materials array.