class Enlighten MetaBlock

This is the documentation for Enlighten.

class Enlighten MetaBlock

class Enlighten::MetaBlock

 

A compact block of Enlighten scene metadata providing efficient queries.

This object consists of a 'header', which is the normal C++ object, and a 'payload' which is allocated directly after the header.

Usage:

  1. Acquire this object by building the block from an Enlighten3MetaBuilder/MetaBlockBuilder, or by loading a previously serialised block. This can be done using the utility functions in MetaUtils.h.

  2. Query the metadata using the GetXXX() methods.

 

Functions

Name

Description

Name

Description

GetCubeMap(Geo::s32)

Access to the collections of objects.

GetCubeMap(const Geo::GeoGuid &)

Access to the collections of objects.

GetDirectionalLight(const Geo::GeoGuid &)

Access to the collections of objects.

GetDirectionalLight(Geo::s32)

Access to the collections of objects.

GetEnvironmentLight(Geo::s32)

Access to the collections of objects.

GetEnvironmentLight(const Geo::GeoGuid &)

Access to the collections of objects.

GetGeom(Geo::s32)

Access to the collections of objects.

GetGeom(const Geo::GeoGuid &)

Access to the collections of objects.

GetGeomMesh(Geo::s32)

Access to the collections of objects.

GetGeomMesh(const Geo::GeoGuid &)

Access to the collections of objects.

GetNumCubeMaps()

Access to the collections of objects.

GetNumDirectionalLights()

Access to the collections of objects.

GetNumEnvironmentLights()

Access to the collections of objects.

GetNumGeomMeshes()

Access to the collections of objects.

GetNumGeoms()

Access to the collections of objects.

GetNumPointLights()

Access to the collections of objects.

GetNumProbeSets()

Access to the collections of objects.

GetNumSourceMeshInstances()

Access to the collections of objects.

GetNumSpotlights()

Access to the collections of objects.

GetNumSystems()

Access to the collections of objects.

GetPointLight(Geo::s32)

Access to the collections of objects.

GetPointLight(const Geo::GeoGuid &)

Access to the collections of objects.

GetProbeSet(Geo::s32)

Access to the collections of objects.

GetProbeSet(const Geo::GeoGuid &)

Access to the collections of objects.

GetSize()

Gets the total size of this MetaBlock (in bytes), including both the header and the payload.

GetSourceMeshInstance(const Geo::GeoGuid &)

Access to the collections of objects.

GetSourceMeshInstance(Geo::s32)

Access to the collections of objects.

GetSpotlight(Geo::s32)

Access to the collections of objects.

GetSpotlight(const Geo::GeoGuid &)

Access to the collections of objects.

GetSystem(const Geo::GeoGuid &)

Access to the collections of objects.

GetSystem(Geo::s32)

Access to the collections of objects.