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 |
|---|---|
Create an empty object. | |
Create an empty object. | |
Get geometry id. | |
Get geometry id. | |
Get number of lod's. | |
Get number of lod's. | |
Get number of meshes. | |
Get number of meshes. | |
Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod. | |
Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod. | |
Get the estimated surface area of the geometry, for a given lod. | |
Get the estimated surface area of the geometry, for a given lod. | |
Get the percentage of the output UV texture occupied, for a given lod. | |
Get the percentage of the output UV texture occupied, for a given lod. | |
Get uvs array for the mesh index idx at given lod. | |
Get uvs array for the mesh index idx at given lod. | |
Get number of vertices for the mesh index idx. | |
Get number of vertices for the mesh index idx. | |
Load an instance of this class from an IGeoInputStream. | |
Load an instance of this class from an IGeoInputStream. | |
Free this object that was created within the Enlighten libraries. | |
Free this object that was created within the Enlighten libraries. | |
Save an instance of this class to an IGeoStream. | |
Save an instance of this class to an IGeoStream. |
Typedefs
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.