Fixing staging buffers not getting deleted

remove vgcore
This commit is contained in:
2023-11-06 15:08:27 +01:00
parent d35f7acddc
commit 4c567b60f3
69 changed files with 505 additions and 304 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ using namespace Seele::Component;
using namespace Seele::Math;
Camera::Camera()
: bNeedsViewBuild(false)
, viewMatrix(Matrix4())
: viewMatrix(Matrix4())
, bNeedsViewBuild(false)
{
yaw = 0;
pitch = 0;
-1
View File
@@ -21,7 +21,6 @@ struct Dependencies<This, Rest...> : public Dependencies<Rest...>
namespace Component
{
#pragma warning(disable: 4505)
template<typename Comp>
static int accessComponent(Comp& comp);
}
+4 -3
View File
@@ -2,6 +2,7 @@
#include "Asset/MeshAsset.h"
#include "Graphics/VertexData.h"
#include "Material/MaterialInstance.h"
#include "Graphics/Mesh.h"
namespace Seele
{
@@ -9,9 +10,9 @@ namespace Component
{
struct Mesh
{
VertexData* vertexData;
MeshId id;
PMaterialInstance instance;
PMeshAsset asset;
Mesh() {}
Mesh(PMeshAsset asset) : asset(asset) {}
};
} // namespace Component
} // namespace Seele