class Enlighten GeometryDataBlock

This is the documentation for Enlighten.

class Enlighten GeometryDataBlock

class Enlighten::GeometryDataBlock

    └>Enlighten::IPrecomputeLoaderGeometry
        └>Geo::IGeoSerialisable
            └>Geo::IGeoReleasable

A Geometry data block which contains the precompute data required by Enlighten at runtime.

Functions

Name

Description

Name

Description

Create()

Create an empty object.

Create()

Create an empty object.

GetId()

Get geometry id.

GetId()

Get geometry id.

GetLodCount()

Get number of lod's.

GetLodCount()

Get number of lod's.

GetMeshCount()

Get number of meshes.

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.

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.

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.

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.

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.

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.

Load(Geo::IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

Save(Geo::IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

Typedefs

Name

Description

Name

Description

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

Texture size of the output uv's.



static GeometryDataBlock* Enlighten::GeometryDataBlock::Create


public: GeometryDataBlock * Create()


Create an empty object.