5db5ce971c
Also added a copy pre-build even for .h files into the include directory for charcoal and charcoal-builtin
35 lines
663 B
C++
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;
|
|
};
|
|
}
|
|
}
|
|
} |