charcoal/OpenGLEngine/BasicBatch.h
elipzer 9920dfc25b Added Diffuse Light to LitScene
YES! FINALLY LIGHTING! Next up is specular light!
2018-09-14 21:29:05 -04:00

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;
};
}
}