class Enlighten::ClusterMaterials
Enlighten internal implementation for cluster albedo materials.
Runtime mapping between duster and albedo data.
Classes
Name | Description |
---|---|
Enlighten::ClusterMaterials::ClusterMaterialCount | Number of dusters and a material index which is assigned to them. |
Functions
Name | Description |
---|---|
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
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. |
Anchor | ||||
---|---|---|---|---|
|
void Enlighten::ClusterMaterials::ConvertEndian
...
public: void ConvertEndian
(
Geo::EConvertEndianMode mode
)
...
Convert the endian-ness of this ClusterMaterials.
Anchor | ||||
---|---|---|---|---|
|
ClusterMaterialCount* Enlighten::ClusterMaterials::GetClusterMaterialIndicesArray
...
public: ClusterMaterialCount * GetClusterMaterialIndicesArray()
...
Raw access to the cluster material indices array.
Anchor | ||||
---|---|---|---|---|
|
const ClusterMaterialCount* Enlighten::ClusterMaterials::GetClusterMaterialIndicesArray
...
public: const ClusterMaterialCount * GetClusterMaterialIndicesArray() const
...
Raw access to the cluster material indices array.
Anchor | ||||
---|---|---|---|---|
|
PixelCoord* Enlighten::ClusterMaterials::GetClusterMaterialPixelsArray
...
public: PixelCoord * GetClusterMaterialPixelsArray()
...
Raw access to the cluster material pixels array.
Anchor | ||||
---|---|---|---|---|
|
const PixelCoord* Enlighten::ClusterMaterials::GetClusterMaterialPixelsArray
...
public: const PixelCoord * GetClusterMaterialPixelsArray() const
...
Raw access to the cluster material pixels array.
Anchor | ||||
---|---|---|---|---|
|
Geo::u16* Enlighten::ClusterMaterials::GetClusterMaterialPixelWeightsArray
...
public: Geo::u16 * GetClusterMaterialPixelWeightsArray()
...
Raw access to the cluster material pixel weights array.
Anchor | ||||
---|---|---|---|---|
|
const Geo::u16* Enlighten::ClusterMaterials::GetClusterMaterialPixelWeightsArray
...
public: const Geo::u16 * GetClusterMaterialPixelWeightsArray() const
...
Raw access to the cluster material pixel weights array.
Anchor | ||||
---|---|---|---|---|
|
Geo::u64* Enlighten::ClusterMaterials::GetMaterialIds
...
public: Geo::u64 * GetMaterialIds()
...
Raw access to the material IDs array.
Anchor | ||||
---|---|---|---|---|
|
const Geo::u64* Enlighten::ClusterMaterials::GetMaterialIds
...
public: const Geo::u64 * GetMaterialIds() const
...
Raw access to the material IDs array.
Anchor | ||||
---|---|---|---|---|
|
Geo::u16* Enlighten::ClusterMaterials::GetNumMaterialsArray
...
public: Geo::u16 * GetNumMaterialsArray()
...
Raw access the the num materials array.
Anchor | ||||
---|---|---|---|---|
|
const Geo::u16* Enlighten::ClusterMaterials::GetNumMaterialsArray
...
public: const Geo::u16 * GetNumMaterialsArray() const
...
Raw access the the num materials array.