图形部分增加名字空间graph
This commit is contained in:
parent
382584a81e
commit
8ea38d734d
@ -6,6 +6,7 @@
|
||||
#include<hgl/math/Math.h>
|
||||
|
||||
using namespace hgl;
|
||||
using namespace hgl::graph;
|
||||
|
||||
constexpr uint screen_width=1280;
|
||||
constexpr uint screen_height=720;
|
||||
|
@ -7,6 +7,8 @@
|
||||
// #include<hgl/graph/UBO.h>
|
||||
// #include<hgl/graph/SSBO.h>
|
||||
namespace hgl
|
||||
{
|
||||
namespace graph
|
||||
{
|
||||
constexpr uint HGL_MAX_SHADER_NAME_LENGTH=128; ///<最大Shader名称长度
|
||||
|
||||
@ -191,5 +193,6 @@ namespace hgl
|
||||
// UBO *GetUniformBlock(const char *,uint=HGL_DYNAMIC_DRAW);
|
||||
// SSBO *GetShaderStorage(const char *,uint=HGL_DYNAMIC_DRAW);
|
||||
};//class Shader
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
#endif//HGL_SHADER_INCLUDE
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include<hgl/graph/RenderDriver.h>
|
||||
#include<hgl/graph/RenderDriver.h>
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
namespace graph
|
||||
{
|
||||
class RenderDriverGLCore:public RenderDriver
|
||||
{
|
||||
@ -18,4 +20,5 @@ namespace hgl
|
||||
{
|
||||
}
|
||||
};//class RenderDriverGLCore:public RenderDriver
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
|
@ -1,10 +1,12 @@
|
||||
#include<hgl/graph/Shader.h>
|
||||
#include<hgl/graph/Shader.h>
|
||||
//#include<hgl/LogInfo.h>
|
||||
#include<hgl/type/Smart.h>
|
||||
#include<malloc.h>
|
||||
#include<GLEWCore/glew.h>
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
namespace graph
|
||||
{
|
||||
namespace
|
||||
{
|
||||
@ -390,4 +392,5 @@ namespace hgl
|
||||
//
|
||||
// return index;
|
||||
// }
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
|
@ -1,7 +1,9 @@
|
||||
#include<hgl/graph/Shader.h>
|
||||
#include<hgl/graph/Shader.h>
|
||||
//#include<hgl/graph/UBO.h>
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
namespace graph
|
||||
{
|
||||
/**
|
||||
* 取得属性索引地址
|
||||
@ -247,4 +249,5 @@ namespace hgl
|
||||
//
|
||||
// return ssbo;
|
||||
// }
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
|
Loading…
x
Reference in New Issue
Block a user