Layout codes.
This commit is contained in:
parent
40094a7529
commit
03491dbed8
@ -1,15 +1,11 @@
|
|||||||
#ifndef HGL_GRAPH_PRIMITIVE_CREATER_INCLUDE
|
#pragma once
|
||||||
#define HGL_GRAPH_PRIMITIVE_CREATER_INCLUDE
|
|
||||||
|
|
||||||
#include<hgl/graph/VKRenderResource.h>
|
#include<hgl/graph/VKRenderResource.h>
|
||||||
#include<hgl/graph/VertexAttribDataAccess.h>
|
#include<hgl/graph/VertexAttribDataAccess.h>
|
||||||
#include<hgl/graph/VKShaderModule.h>
|
#include<hgl/graph/VKShaderModule.h>
|
||||||
#include<hgl/graph/VKIndexBuffer.h>
|
#include<hgl/graph/VKIndexBuffer.h>
|
||||||
|
|
||||||
namespace hgl
|
VK_NAMESPACE_BEGIN
|
||||||
{
|
|
||||||
namespace graph
|
|
||||||
{
|
|
||||||
class VertexDataManager;
|
class VertexDataManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -93,6 +89,4 @@ namespace hgl
|
|||||||
|
|
||||||
virtual Primitive * Finish(const AnsiString &); ///<结束并创建可渲染对象
|
virtual Primitive * Finish(const AnsiString &); ///<结束并创建可渲染对象
|
||||||
};//class PrimitiveCreater
|
};//class PrimitiveCreater
|
||||||
}//namespace graph
|
VK_NAMESPACE_END
|
||||||
}//namespace hgl
|
|
||||||
#endif//HGL_GRAPH_PRIMITIVE_CREATER_INCLUDE
|
|
@ -4,10 +4,7 @@
|
|||||||
#include<hgl/graph/VKPrimitive.h>
|
#include<hgl/graph/VKPrimitive.h>
|
||||||
#include<hgl/graph/VertexDataManager.h>
|
#include<hgl/graph/VertexDataManager.h>
|
||||||
|
|
||||||
namespace hgl
|
VK_NAMESPACE_BEGIN
|
||||||
{
|
|
||||||
namespace graph
|
|
||||||
{
|
|
||||||
PrimitiveCreater::PrimitiveCreater(RenderResource *sdb,const VIL *v)
|
PrimitiveCreater::PrimitiveCreater(RenderResource *sdb,const VIL *v)
|
||||||
{
|
{
|
||||||
device =sdb->GetDevice();
|
device =sdb->GetDevice();
|
||||||
@ -198,5 +195,4 @@ namespace hgl
|
|||||||
|
|
||||||
return primitive;
|
return primitive;
|
||||||
}
|
}
|
||||||
}//namespace graph
|
VK_NAMESPACE_END
|
||||||
}//namespace hgl
|
|
Loading…
x
Reference in New Issue
Block a user