迁移到StaticMeshComponent渲染

This commit is contained in:
2025-06-14 21:05:36 +08:00
parent 92f612f675
commit f9675fc1e5
15 changed files with 140 additions and 141 deletions

View File

@@ -1,17 +1,17 @@
#pragma once
#include<hgl/component/Component.h>
#include<hgl/component/PrimitiveComponent.h>
COMPONENT_NAMESPACE_BEGIN
/**
* 可渲染组件
*/
class RenderComponent: public Component
class RenderComponent:public PrimitiveComponent
{
public:
using Component::Component;
using PrimitiveComponent::PrimitiveComponent;
virtual ~RenderComponent()=default;
};//class RenderComponent