迁移auto_merge_material_instance,BillboardTest,PlaneGrid3D,RayPicking四个测试范例到新的Component结构
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include<hgl/graph/mtl/Material3DCreateConfig.h>
|
||||
#include<hgl/graph/VertexDataManager.h>
|
||||
#include<hgl/graph/VKVertexInputConfig.h>
|
||||
#include<hgl/component/StaticMeshComponent.h>
|
||||
|
||||
using namespace hgl;
|
||||
using namespace hgl::graph;
|
||||
@@ -100,7 +101,7 @@ private:
|
||||
return(nullptr);
|
||||
}
|
||||
|
||||
parent_node->Add(new SceneNode(ri));
|
||||
CreateComponent<StaticMeshComponent>(parent_node,ri);
|
||||
|
||||
return ri;
|
||||
}
|
||||
|
Reference in New Issue
Block a user