charcoal/OpenGLEngine/BasicBatch.h
2018-09-19 03:52:42 -04:00

33 lines
618 B
C++

#pragma once
#include "PoseableBatch.h"
#include "BasicTypes.h"
namespace charcoal
{
namespace builtin
{
namespace basic
{
class Batch : public PoseableBatch<Vertex, Index, Renderable>
{
public:
Batch(
Renderable* renderable,
int element_count
) : PoseableBatch<Vertex, Index, Renderable>(renderable, element_count)
{}
Batch(
Renderable* renderable,
int element_count,
int element_render_count
) : PoseableBatch<Vertex, Index, Renderable>(renderable, element_count, element_render_count)
{}
protected:
void setup_vao() override;
};
}
}
}