charcoal/CharcoalBuiltin/BuiltinBatch.h
elipzer 41235f553c Converted BaseBatch to Batch.
Also abstracted the batches into InstancedBatch, ElementBatch, and
InstancedElementBatch.
2018-11-12 00:22:55 -05:00

17 lines
545 B
C++

#pragma once
#include <charcoal/Prerenderable.h>
#include <charcoal/InstancedElementBatch.h>
namespace charcoal
{
namespace builtin
{
template <typename VertexType, typename IndexType, int element_buffer_count, typename RenderableType = RenderableT<VertexType, IndexType> >
class Batch : public charcoal::InstancedElementBatch<VertexType, IndexType, element_buffer_count, RenderableType>
{
public:
using charcoal::InstancedElementBatch<VertexType, IndexType, element_buffer_count, RenderableType>::InstancedElementBatch;
};
}
}