use VAB instead VertexAttribBuffer.

use VAD instead VertexAttribData.
This commit is contained in:
2020-08-07 21:59:20 +08:00
parent 1964e5da04
commit d26b59cb1d
23 changed files with 79 additions and 58 deletions

View File

@@ -6,9 +6,26 @@ namespace hgl
{
namespace graph
{
/**
* 文本可渲染对象
*/
class TextRenderable:public vulkan::Renderable
{
};//
vulkan::Renderable * render_obj;
uint32 max_count; ///<缓冲区最大容量
uint32 cur_count; ///<当前容量
vulkan::VertexAttribBuffer *vertex_buffer;
vulkan::VertexAttribBuffer *tex_coord_buffer;
public:
TextRenderable();
virtual ~TextRenderable();
};//class TextRenderable:public vulkan::Renderable
}//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_TEXT_RENDERABLE_INCLUDE