added Component.cpp/StaticMeshComponent.h/.cpp

This commit is contained in:
2024-10-20 23:28:46 +08:00
parent 83c1a067fe
commit a0b0027663
5 changed files with 59 additions and 16 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include<hgl/graph/Component.h>
#include<hgl/graph/mesh/StaticMesh.h>
VK_NAMESPACE_BEGIN
class StaticMeshComponentData:public ComponentData
{
StaticMesh *static_mesh;
};//class StaticMeshComponentData:public ComponentData
class StaticMeshComponent:public Component
{
};//class StaticMeshComponent:public Component
VK_NAMESPACE_END