RavEngine
Loading...
Searching...
No Matches
MeshAssetSkinned.hpp
1#pragma once
2#include "MeshAsset.hpp"
3#include "Ref.hpp"
4#include "Manager.hpp"
5#if !RVE_SERVER
6#include <RGL/Types.hpp>
7#endif
8
9namespace RavEngine{
10 class SkeletonAsset;
11
13
14private:
15#if !RVE_SERVER
16 RGLBufferPtr weightsBuffer;
17#endif
18public:
19
21
22 MeshAssetSkinned(const std::string& path);
23
24 // use this to load assets
25 struct Manager : public GenericWeakReadThroughCache<std::string,MeshAssetSkinned>{};
26#if !RVE_SERVER
27 auto GetWeightsBuffer() const {
28 return weightsBuffer;
29 }
30#endif
31};
32
33}
Definition MeshAssetSkinned.hpp:12
Definition MeshAsset.hpp:27
Definition Animation.hpp:6
Definition MeshAssetSkinned.hpp:25