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

35 lines
663 B
C++

#pragma once
#include "PoseableBatch.h"
#include "TexturedTypes.h"
namespace charcoal
{
namespace builtin
{
namespace textured
{
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)
{}
void preprender() const override;
protected:
void setup_vao() override;
};
}
}
}