30 lines
647 B
C
30 lines
647 B
C
|
#pragma once
|
||
|
|
||
|
#include "PoseableBatch.h"
|
||
|
#include "BuiltinTypes.h"
|
||
|
|
||
|
namespace charcoal
|
||
|
{
|
||
|
namespace builtin
|
||
|
{
|
||
|
class BasicBatch : public PoseableBatch<BasicVertex, BasicIndex, BasicRenderable>
|
||
|
{
|
||
|
public:
|
||
|
BasicBatch(
|
||
|
BasicRenderable* renderable,
|
||
|
int element_count
|
||
|
) : PoseableBatch<BasicVertex, BasicIndex, BasicRenderable>(renderable, element_count)
|
||
|
{}
|
||
|
|
||
|
BasicBatch(
|
||
|
BasicRenderable* renderable,
|
||
|
int element_count,
|
||
|
int element_render_count
|
||
|
) : PoseableBatch<BasicVertex, BasicIndex, BasicRenderable>(renderable, element_count, element_render_count)
|
||
|
{}
|
||
|
|
||
|
protected:
|
||
|
void setup_vao() override;
|
||
|
};
|
||
|
}
|
||
|
}
|