2#include "Engine/Core/Asset.h"
3#include "Engine/Ecs/EcsData.h"
11 class ModelAssetPipeline;
27 Mesh(
bool initEcsData =
false);
Base class for asset wrappers. The data is stored in the private member variable 'data' in form of en...
A manager which is used to look up existing assets and their loading state.
MeshAssetManager()=default
Creates an empty mesh asset manager.
void unload() override
Unloads all data and clears the ecs objects.
Ecs::MeshPrimitiveData * getMeshPrimitiveData()
Gets the mesh data for this asset.
void updateLoadingState() override
Updates the loading state of the asset based on the existence of the ECS components.
Mesh(bool initEcsData=false)
Creates a mesh asset and optionally initializes ECS-backed asset data.
The model asset pipeline loads a gltf scene and loads and loads the mesh and material data....
EnTT component data used by engine systems.
Renderer-facing primitive collection for one mesh asset.