This is the documentation for Enlighten.
class Enlighten MetaBlockBuilder
class Enlighten::MetaBlockBuilder
Builds compact blocks of metadata which can be loaded by the Enlighten3Meta library.
Usage:
Call the AddXXX() methods to register all the different bits of scene metadata.
Call Compile() to compress all the registered metadata into a single metadata block (MetaBlock).
(Optionally) save the MetaBlock to a stream/file using the functions in Enlighten3Meta/MetaUtils.h.
Classes
Name | Description |
|---|---|
Input data describing a base light (shared by spotlights, point lights etc.). | |
Input data describing a cube map. | |
Input data describing a directional light. | |
Input data describing an environment light. | |
Input data describing a geom mesh. | |
Input data describing a geom. | |
Input data describing an instance. | |
Input data describing a paramset. | |
Input data describing a point light. | |
Input data describing a probe set. | |
Input data describing a source mesh instance. | |
Input data describing a spotlight. | |
Input data describing a system. |
Functions
Name | Description |
|---|---|
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. | |
Register scene metadata with the builder. |
void Enlighten::MetaBlockBuilder::AddCubeMap
public: void AddCubeMap
(
const CubeMapMeta & cubeMap
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddDirectionalLight
public: void AddDirectionalLight
(
const DirectionalLightMeta & directionalLight
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddEnvironmentLight
public: void AddEnvironmentLight
(
const EnvironmentLightMeta & environmentLight
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddGeom
public: void AddGeom
(
const GeomMeta & geom
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddGeomMesh
public: void AddGeomMesh
(
const GeomMeshMeta & geomMesh
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddInstance
public: void AddInstance
(
const InstanceMeta & instance
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddParamSet
public: void AddParamSet
(
const ParamSetMeta & paramSet
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddPointLight
public: void AddPointLight
(
const PointLightMeta & pointLight
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddProbeSet
public: void AddProbeSet
(
const ProbeSetMeta & probeSet
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddSourceMeshInstance
public: void AddSourceMeshInstance
(
const SourceMeshInstanceMeta & sourceMeshInstance
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddSpotlight
public: void AddSpotlight
(
const SpotlightMeta & spotlight
)
Register scene metadata with the builder.
void Enlighten::MetaBlockBuilder::AddSystem
public: void AddSystem
(
const SystemMeta & system
)
Register scene metadata with the builder.