class Enlighten IPrecomputeLoaderSystem

This is the documentation for Enlighten.

class Enlighten IPrecomputeLoaderSystem

class Enlighten::IPrecomputeLoaderSystem

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

The Interface to System data.

Contains the system precompute data required by Enlighten at runtime.

Functions

Name

Description

Name

Description

Create()

Create an empty object.

FreeData(Geo::u32)

Free memory data of a optional section.

GetClusterAlbedoWorkspace()

Get cluster albedo workspace.

GetHeight(Geo::s32)

Get lightmap height at given lod.

GetId()

Get system id.

GetInputWorkspace()

Get input workspace.

GetLodCount()

Get number of system lod's.

GetPrecomputedVisibility()

Get precomputed visibility.

GetRadiosityCore(Geo::s32)

Get radiosity core at given lod.

GetRadiosityNormalTexHeight(Geo::s32)

Get radiosity normal texture height at given lod.

GetRadiosityNormalTexPixels(Geo::s32)

Get radiosity normal texture pixels at given lod The pixels are stored linearly in a contiguous array.

GetRadiosityNormalTexWidth(Geo::s32)

Get radiosity normal texture width at given lod.

GetSystemDependenciesCount()

Get number of system dependencies.

GetSystemDependency(Geo::s32)

Get dependency system id at index idx.

GetUvTransform(Geo::s32, Geo::s32)

Get uv transform for instance idx at given lod.

GetUvTransformsCount()

Get number of uv transforms per lod, which equals the number of instances in the system.

GetWidth(Geo::s32)

Get lightmap width at given lod.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

 

static IPrecomputeLoaderSystem* Enlighten::IPrecomputeLoaderSystem::Create


public: IPrecomputeLoaderSystem * Create()


Create an empty object.

 

virtual void Enlighten::IPrecomputeLoaderSystem::FreeData


public: void FreeData
(
    Geo::u32 section
)


Free memory data of a optional section.

 

virtual const Enlighten::ClusterAlbedoWorkspaceMaterialData* Enlighten::IPrecomputeLoaderSystem::GetClusterAlbedoWorkspace


public: const Enlighten::ClusterAlbedoWorkspaceMaterialData * GetClusterAlbedoWorkspace() const