charcoal/OpenGLEngine/ImageTypes.h
Elipzer 5a9765b111 Image Rendering almost works!
There is an OpenGL error (1282) invalid operation that is getting
caught when switching to the imagescene. This needs to get fixed
and then hopefully the whole thing will work.
2018-10-09 19:58:26 -04:00

19 lines
343 B
C++

#pragma once
#include "BuiltinTypes.h"
#include "SpriteBatch.h"
namespace charcoal
{
namespace builtin
{
namespace image
{
typedef PTVertex Vertex;
typedef Index Index;
typedef TextureRenderable<Vertex, Index> Renderable;
typedef SpriteBatch<Vertex, Index, offsetof(Vertex, position), offsetof(Vertex, uv)> Batch;
}
}
}