|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
The mesh asset stores geometry data and. More...
#include <MeshAsset.h>
Public Member Functions | |
| Mesh (bool initEcsData=false) | |
| void | unload () override |
| Unloads all data and clears the ecs objects. | |
| Ecs::MeshPrimitiveData * | getMeshPrimitiveData () |
| Gets the mesh data for this asset. | |
| Public Member Functions inherited from Asset::AssetBase | |
| AssetBase (bool initializeDefaultEntity=false) | |
| virtual | ~AssetBase () |
| CpuLoadingState | getLoadingState () |
| Gets the loading state of this asset. | |
| void | requestLoad () |
| If this asset is in the UNLOADED state it will get added to the assets to load. | |
| entt::entity | getEntity () const |
| Getter for data. | |
Protected Member Functions | |
| void | updateLoadingState () override |
| Updates the loading state of the asset based on the existence of the ECS components. | |
Additional Inherited Members | |
| Protected Attributes inherited from Asset::AssetBase | |
| CpuLoadingState | loadingState = UNLOADED |
| entt::registry & | mainRegistry |
| entt::entity | data |
The mesh asset stores geometry data and.
Definition at line 19 of file MeshAsset.h.
| Engine::Assets::Mesh::Mesh | ( | bool | initEcsData = false | ) |
| Ecs::MeshPrimitiveData * Engine::Assets::Mesh::getMeshPrimitiveData | ( | ) |
Gets the mesh data for this asset.
|
overridevirtual |
Unloads all data and clears the ecs objects.
Reimplemented from Asset::AssetBase.
|
overrideprotectedvirtual |
Updates the loading state of the asset based on the existence of the ECS components.
Reimplemented from Asset::AssetBase.