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