charcoal/CharcoalBuiltin/LitBatch.h

33 lines
614 B
C
Raw Normal View History

#pragma once
#include "PoseableBatch.h"
2018-09-19 07:52:42 +00:00
#include "LitTypes.h"
namespace charcoal
{
namespace builtin
{
2018-09-19 07:52:42 +00:00
namespace lit
{
2018-09-19 07:52:42 +00:00
class Batch : public PoseableBatch<Vertex, Index, Renderable>
{
public:
Batch(
Renderable* renderable,
int element_count
) : PoseableBatch<Vertex, Index, Renderable>(renderable, element_count)
{}
2018-09-19 07:52:42 +00:00
Batch(
Renderable* renderable,
int element_count,
int element_render_count
) : PoseableBatch<Vertex, Index, Renderable>(renderable, element_count, element_render_count)
{}
2018-09-19 07:52:42 +00:00
protected:
void setup_vao() override;
};
}
}
}