This is the documentation for Enlighten.

module Baking

Classes

Name Description
Enlighten::BakeInputLight

The input light type for baking.

Enlighten::BakeInputMeshInfo

Data about a mesh, used as a parameter to IBakeInputSystem::AddMesh.

Enlighten::BakeInputTexture

Texture object for the Baking.

Enlighten::IBake

The Low Level Enlighten Baking API.

Enlighten::IBakeInputGeometryLightingNormals

Interface for providing lighting normals for the geometry.

Enlighten::IBakeInputGeometryTangents

Interface for providing tangents for the geometry.

Enlighten::IBakeInputGeometryUvs

Interface for providing tangents for the geometry.

Enlighten::IBakeInputLighting

Input lighting for the offline baking; mainly a collection of EnlightenLight structures.

Enlighten::IBakeInputMaterial

The material descriptions for a bake system. This will have a BakeMaterialInfo for each facegroup in each mesh in each geometry, with optional overrides per-instance.

Enlighten::IBakeInputMeshLightingNormals

Interface for providing lighting normals for the mesh.

Enlighten::IBakeInputMeshTangents

Interface for providing tangents for the mesh.

Enlighten::IBakeInputMeshUvs

Interface for providing tangents for the mesh.

Enlighten::IBakeInputProperties

Bake properties class, used by calculation tasks to hold global and task specific data.

Enlighten::IBakeInputRayOriginPositions

The ray origin positions for all systems.

Enlighten::IBakeInputRuntime

The Enlighten runtime objects; RadDataCore, InputWorkspace, et al.

Enlighten::IBakeInputSystem

A triangle list and GBuffer of the incoming system.

Enlighten::IBakeOutputSystemAO

Baking output for ambient occlusion.

Enlighten::IBakeOutputSystemDirect

Baking output for direct lighting.

Enlighten::IBakeOutputSystemFinalGather

Baking output for indirect lighting from Final Gather.

Enlighten::IBakeOutputSystemIndirect

Baking output for indirect lighting.

Enlighten::IBakeOutputSystemRadiosityNormal

Baking output for radiosity normal texture.

Enlighten::IBakeOutputSystemVisibility

Baking output for per light visibility.

Enlighten::IBakeRuntimeLighting

Material textures for the albedo and emissive channels, in Enlighten UV space.

Enlighten::IBakeSolvedRuntime

Interface for providing radiosity output for systems and probesets for baking.

Enlighten::IBakeSystemResource

System data for baking.

Enlighten::IBakeTextureManager

Interface for providing and caching textures.

Enlighten::IBakeVisibilityBuffer

Visibility information for a light map.

Enlighten::PixelBarycentricWeights

Data about a given pixel in the lightmap.

Enums

Name Description
eBakeLightType

Different types of baking input lights.

EBakeType

Bake output format.

Typedefs

Name Description
Geo::GeoFileString GeoTextureString

Texture filename string.

Functions

Name Description
CreateBake()

Create an instance of Enlighten Bake interface.


eBakeLightType


public: enum eBakeLightType
{
    BAKE_LIGHT_TYPE_INVALID = -1,
    BAKE_LIGHT_TYPE_SPOT_LIGHT = 0,
    BAKE_LIGHT_TYPE_POINT_LIGHT = 1,
    BAKE_LIGHT_TYPE_DIRECTIONAL_LIGHT = 2,
    BAKE_LIGHT_TYPE_RECTANGULAR_LIGHT = 3
}


Different types of baking input lights.

enumerators
BAKE_LIGHT_TYPE_INVALID

Invalid light type.

BAKE_LIGHT_TYPE_SPOT_LIGHT

Spot light.

BAKE_LIGHT_TYPE_POINT_LIGHT

Point light.

BAKE_LIGHT_TYPE_DIRECTIONAL_LIGHT

Directional light.

BAKE_LIGHT_TYPE_RECTANGULAR_LIGHT

Rectangular area light.


EBakeType


public: enum EBakeType
{
    ebtTexture,
    ebtVertex,
    ebtProbe
}


Bake output format.

enumerators
ebtTexture

Use texture bake output.

ebtVertex

Use vertex bake output.

ebtProbe

Use probe bake output.


IBake* Enlighten::CreateBake


public: IBake * CreateBake()


Create an instance of Enlighten Bake interface.