Rebel Fork Framework
LightmapGeometryBuffer.h File Reference

Classes

struct  Urho3D::GeometryIDToObjectMapping
 Used for mapping between geometry ID in geometry buffer and actual geometry. More...
 
struct  Urho3D::LightmapSeam
 Lightmap seam description. More...
 
struct  Urho3D::LightmapGeometryBakingScene
 Baking scene for single lightmap chart. More...
 
struct  Urho3D::LightmapGeometryBakingScenesArray
 Baking scenes for the set of lightmap charts. More...
 
struct  Urho3D::LightmapChartGeometryBuffer
 Lightmap geometry buffer of lightmap chart. More...
 

Typedefs

using Urho3D::GeometryIDToObjectMappingVector = ea::vector< GeometryIDToObjectMapping >
 Vector of geometry mapping.
 
using Urho3D::LightmapSeamVector = ea::vector< LightmapSeam >
 Vector of lightmap seams.
 
using Urho3D::LightmapChartGeometryBufferVector = ea::vector< LightmapChartGeometryBuffer >
 Vector of lightmap geometry buffers.
 

Functions

LightmapGeometryBakingScenesArray Urho3D::GenerateLightmapGeometryBakingScenes (Context *context, const ea::vector< Component * > &geometries, unsigned lightmapSize, const LightmapGeometryBakingSettings &settings)
 Generate baking scenes for lightmap charts.
 
LightmapChartGeometryBuffer Urho3D::BakeLightmapGeometryBuffer (const LightmapGeometryBakingScene &bakingScene)
 Bake lightmap geometry buffer for lightmap chart.
 
LightmapChartGeometryBufferVector Urho3D::BakeLightmapGeometryBuffers (const ea::vector< LightmapGeometryBakingScene > &bakingScenes)
 Bake lightmap geometry buffer for lightmap charts.