class Enlighten IPrecomputeLoaderGeometry

This is the documentation for Enlighten.

class Enlighten IPrecomputeLoaderGeometry

class Enlighten::IPrecomputeLoaderGeometry

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

The Interface to Geometry data.

Contains the geometry precompute data required by Enlighten at runtime.

Typedefs

Name

Description

Geo::GeoPair< Geo::s32, Geo::s32 > TextureSize

Texture size of the output uv's.

Functions

Name

Description

Create()

Create an empty object.

GetId()

Get geometry id.

GetLodCount()

Get number of lod's.

GetMeshCount()

Get number of meshes.

GetOutputUvSize(Geo::s32)

Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod.

GetSurfaceArea(Geo::s32)

Get the estimated surface area of the geometry, for a given lod.

GetTargetUsagePercentage(Geo::s32)

Get the percentage of the output UV texture occupied, for a given lod.

GetUvs(Geo::s32, Geo::s32)

Get uvs array for the mesh index idx at given lod.

GetVerticesCount(Geo::s32)

Get number of vertices for the mesh index idx.

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 IPrecomputeLoaderGeometry* Enlighten::IPrecomputeLoaderGeometry::Create


public: IPrecomputeLoaderGeometry * Create()


Create an empty object.

 

virtual const Geo::GeoGuid& Enlighten::IPrecomputeLoaderGeometry::GetId


public: const Geo::GeoGuid & GetId() const


Get geometry id.

 

virtual Geo::s32 Enlighten::IPrecomputeLoaderGeometry::GetLodCount


public: Geo::s32 GetLodCount() const


Get number of lod's.

 

virtual Geo::s32 Enlighten::IPrecomputeLoaderGeometry::GetMeshCount


public: Geo::s32 GetMeshCount() const


Get number of meshes.