41235f553c
Also abstracted the batches into InstancedBatch, ElementBatch, and InstancedElementBatch.
17 lines
545 B
C++
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;
|
|
};
|
|
}
|
|
} |