charcoal/CharcoalBuiltin/BuiltinBatch.h

19 lines
616 B
C
Raw Normal View History

#pragma once
#include <charcoal/Prerenderable.h>
#include <charcoal/Batch.h>
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>
{
public:
using charcoal::Batch<VertexType, IndexType, element_buffer_count, RenderableT>::Batch;
2018-09-19 07:52:42 +00:00
void prerender() override { charcoal::Batch<VertexType, IndexType, element_buffer_count, RenderableT>::prerender(); }
};
}
}