2018-11-30 20:04:00 +08:00
|
|
|
|
#ifndef HGL_GRAPH_RENDERABLE_INCLUDE
|
|
|
|
|
#define HGL_GRAPH_RENDERABLE_INCLUDE
|
|
|
|
|
|
|
|
|
|
#include<hgl/graph/Shader.h>
|
2018-12-05 21:08:18 +08:00
|
|
|
|
|
2018-11-30 20:04:00 +08:00
|
|
|
|
namespace hgl
|
|
|
|
|
{
|
|
|
|
|
namespace graph
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* 可渲染对象
|
|
|
|
|
*/
|
|
|
|
|
class Renderable
|
|
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
VertexArray *va;
|
|
|
|
|
Material *mtl;
|
|
|
|
|
};//class Renderable
|
|
|
|
|
}//namespace graph
|
|
|
|
|
}//namespace hgl
|
|
|
|
|
#endif//HGL_GRAPH_RENDERABLE_INCLUDE
|