bb4592ed63
Changing the mechanic of the renderer to support pipelines. One scene could have multiple pipelines. The pipelines allow for one shader, one camera, and multiple batches.
21 lines
335 B
C++
21 lines
335 B
C++
#pragma once
|
|
|
|
#include "BasicTypes.h"
|
|
#include "PoseableBatch.h"
|
|
|
|
namespace charcoal
|
|
{
|
|
namespace builtin
|
|
{
|
|
namespace basic
|
|
{
|
|
class Batch : public PoseableBatch<Vertex, Index, 1>
|
|
{
|
|
public:
|
|
using PoseableBatch<Vertex, Index, 1>::PoseableBatch;
|
|
protected:
|
|
virtual void setup_vao_vertex() override;
|
|
};
|
|
}
|
|
}
|
|
} |