![]() |
ezEngine Release 26.9
|
#include <KrautTreeResource.h>
Classes | |
| struct | LodData |
| All mesh data for one LOD level. More... | |
| struct | MaterialData |
| struct | SubMeshData |
| Defines a draw call within a LOD: a contiguous range of triangles sharing a single material. More... | |
| struct | TriangleData |
| struct | VertexData |
| Per-vertex data for a LOD mesh. More... | |
Public Member Functions | |
| void | Save (ezStreamWriter &inout_stream) const |
| ezResult | Load (ezStreamReader &inout_stream) |
Public Attributes | |
| ezKrautTreeResourceDetails | m_Details |
| ezStaticArray< LodData, 6 > | m_Lods |
| ezHybridArray< MaterialData, 8 > | m_Materials |
Full serializable descriptor for a single per-seed tree resource, including all LOD mesh data.
This descriptor is produced by the Kraut generator and can be saved to and loaded from a stream. It is also the input to ezKrautTreeResource::CreateResource().