19 lines
616 B
C++
19 lines
616 B
C++
#pragma once
|
|
|
|
#include <charcoal/Prerenderable.h>
|
|
#include <charcoal/Batch.h>
|
|
|
|
namespace charcoal
|
|
{
|
|
namespace builtin
|
|
{
|
|
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;
|
|
|
|
void prerender() override { charcoal::Batch<VertexType, IndexType, element_buffer_count, RenderableT>::prerender(); }
|
|
};
|
|
}
|
|
} |