added StaticMesh.cpp/.h in example, they should move to SceneGraph in future
This commit is contained in:
parent
5855b2eb5b
commit
6571a27f41
2
CMCore
2
CMCore
@ -1 +1 @@
|
|||||||
Subproject commit dcbb9ed7a29021cc75bfdd9fb38abaea273257b6
|
Subproject commit 0f236d9bc06803cce037fb6391c123cc99e81b90
|
2
CMUtil
2
CMUtil
@ -1 +1 @@
|
|||||||
Subproject commit 39faf8b4751ad890bee3a0f5d827a0c619353c35
|
Subproject commit 09965c1492755a00015f9f030043002c92edb9a5
|
@ -14,6 +14,6 @@ CreateProject(01_PlaneGrid3D PlaneGrid3D.cpp)
|
|||||||
CreateProject(02_RayPicking RayPicking.cpp)
|
CreateProject(02_RayPicking RayPicking.cpp)
|
||||||
CreateProject(03_MetricCellsGrid MetricCellsGrid.cpp)
|
CreateProject(03_MetricCellsGrid MetricCellsGrid.cpp)
|
||||||
|
|
||||||
CreateProject(04_Gizmo3DTest GizmoTest.cpp Gizmo3DMove.cpp Gizmo.h GizmoResource.h GizmoResource.cpp)
|
CreateProject(04_Gizmo3DTest GizmoTest.cpp Gizmo3DMove.cpp Gizmo.h GizmoResource.h GizmoResource.cpp StaticMesh.h StaticMesh.cpp)
|
||||||
|
|
||||||
#CreateProject(03_BlenderAxis BlenderAxis.cpp)
|
#CreateProject(03_BlenderAxis BlenderAxis.cpp)
|
||||||
|
@ -21,3 +21,18 @@
|
|||||||
中心球半径为1
|
中心球半径为1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include"GizmoResource.h"
|
||||||
|
|
||||||
|
VK_NAMESPACE_BEGIN
|
||||||
|
|
||||||
|
struct StaticMesh
|
||||||
|
{
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
|
||||||
|
}//namespace
|
||||||
|
|
||||||
|
VK_NAMESPACE_END
|
||||||
|
0
example/Gizmo/StaticMesh.cpp
Normal file
0
example/Gizmo/StaticMesh.cpp
Normal file
20
example/Gizmo/StaticMesh.h
Normal file
20
example/Gizmo/StaticMesh.h
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include<hgl/graph/VKRenderable.h>
|
||||||
|
#include<hgl/type/SortedSets.h>
|
||||||
|
VK_NAMESPACE_BEGIN
|
||||||
|
|
||||||
|
class StaticMesh
|
||||||
|
{
|
||||||
|
RenderResource *rr;
|
||||||
|
|
||||||
|
SortedSets<Primitive *> prim_set;
|
||||||
|
SortedSets<MaterialInstance *> mi_set;
|
||||||
|
SortedSets<Pipeline *> pipeline_set;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
VK_NAMESPACE_END
|
Loading…
x
Reference in New Issue
Block a user