Rebel Fork Framework
|
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< Vector3 > | positions_ |
ea::vector< Vector3 > | smoothPositions_ |
ea::vector< Vector3 > | smoothNormals_ |
ea::vector< Vector3 > | faceNormals_ |
ea::vector< unsigned > | geometryIds_ |
ea::vector< unsigned > | lightMasks_ |
ea::vector< unsigned > | backgroundIds_ |
ea::vector< float > | texelRadiuses_ |
ea::vector< Vector3 > | albedo_ |
ea::vector< Vector3 > | emission_ |
Lightmap geometry buffer of lightmap chart.