charcoal/CharcoalBuiltin/LitShadowedBatch.h

33 lines
630 B
C
Raw Normal View History

2018-09-18 20:55:32 +00:00
#pragma once
#include "PoseableBatch.h"
2018-09-19 07:52:42 +00:00
#include "LitShadowedTypes.h"
2018-09-18 20:55:32 +00:00
namespace charcoal
{
namespace builtin
{
2018-09-19 07:52:42 +00:00
namespace litshadowed
2018-09-18 20:55:32 +00:00
{
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-18 20:55:32 +00:00
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-18 20:55:32 +00:00
2018-09-19 07:52:42 +00:00
protected:
void setup_vao() override;
};
}
2018-09-18 20:55:32 +00:00
}
}