Redo of render paths
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include "Asset.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
DECLARE_REF(Mesh);
|
||||
class MeshAsset : public Asset
|
||||
{
|
||||
public:
|
||||
MeshAsset();
|
||||
MeshAsset(const std::string& directory, const std::string& name);
|
||||
MeshAsset(const std::string& fullPath);
|
||||
void setMesh(PMesh mesh)
|
||||
{
|
||||
std::scoped_lock lck(lock);
|
||||
this->mesh = mesh;
|
||||
}
|
||||
private:
|
||||
PMesh mesh;
|
||||
};
|
||||
DEFINE_REF(MeshAsset);
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user