2018-09-13 23:21:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-11 05:26:24 +00:00
|
|
|
#include <charcoal/Prerenderable.h>
|
|
|
|
#include <charcoal/Batch.h>
|
2018-09-13 23:21:34 +00:00
|
|
|
|
|
|
|
namespace charcoal
|
|
|
|
{
|
|
|
|
namespace builtin
|
|
|
|
{
|
2018-09-19 07:52:42 +00:00
|
|
|
template <typename VertexType, typename IndexType, int element_buffer_count, typename RenderableT = RenderableT<VertexType, IndexType> >
|
|
|
|
class Batch : public Prerenderable, public charcoal::Batch<VertexType, IndexType, element_buffer_count, RenderableT>
|
2018-09-13 23:21:34 +00:00
|
|
|
{
|
|
|
|
public:
|
2018-10-13 18:07:08 +00:00
|
|
|
using charcoal::Batch<VertexType, IndexType, element_buffer_count, RenderableT>::Batch;
|
2018-09-13 23:21:34 +00:00
|
|
|
|
2018-09-19 07:52:42 +00:00
|
|
|
void prerender() override { charcoal::Batch<VertexType, IndexType, element_buffer_count, RenderableT>::prerender(); }
|
2018-09-13 23:21:34 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|