Rebel Fork Framework
Urho3D::LightmapChartGeometryBuffer Struct Reference

Lightmap geometry buffer of lightmap chart. More...

#include <Urho3D/Glow/LightmapGeometryBuffer.h>

Public Member Functions

 LightmapChartGeometryBuffer ()=default
 Construct default.
 
 LightmapChartGeometryBuffer (unsigned index, unsigned size)
 Construct valid.
 
IntVector2 IndexToLocation (unsigned index) const
 Convert index to location.
 
bool IsValidLocation (const IntVector2 &location) const
 Returns whether the location is valid.
 
unsigned LocationToIndex (const IntVector2 &location) const
 Convert location to index.
 

Public Attributes

unsigned index_ {}
 Lightmap chart index.
 
unsigned lightmapSize_ {}
 Size of lightmap chart.
 
LightmapSeamVector seams_
 Lightmap seams.
 
ea::vector< Vector3positions_
 
ea::vector< Vector3smoothPositions_
 
ea::vector< Vector3smoothNormals_
 
ea::vector< Vector3faceNormals_
 
ea::vector< unsigned > geometryIds_
 
ea::vector< unsigned > lightMasks_
 
ea::vector< unsigned > backgroundIds_
 
ea::vector< float > texelRadiuses_
 
ea::vector< Vector3albedo_
 
ea::vector< Vector3emission_
 

Detailed Description

Lightmap geometry buffer of lightmap chart.

Member Data Documentation

◆ positions_

ea::vector<Vector3> Urho3D::LightmapChartGeometryBuffer::positions_

Geometry buffer


The documentation for this struct was generated from the following file: