2016-06-27 21:59:35 +02:00
|
|
|
namespace rw {
|
|
|
|
namespace gl3 {
|
|
|
|
|
2016-06-29 12:53:02 +02:00
|
|
|
#ifdef RW_OPENGL
|
|
|
|
|
|
|
|
extern Shader *simpleShader;
|
2016-08-21 18:20:27 +02:00
|
|
|
extern uint32 im2DVbo, im2DIbo;
|
|
|
|
void im2DInit(void);
|
|
|
|
void im2DRenderIndexedPrimitive(PrimitiveType primType,
|
|
|
|
void *vertices, int32 numVertices, void *indices, int32 numIndices);
|
2016-06-29 12:53:02 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2016-06-27 21:59:35 +02:00
|
|
|
void rasterCreate(Raster *raster);
|
|
|
|
uint8 *rasterLock(Raster*, int32 level);
|
|
|
|
void rasterUnlock(Raster*, int32);
|
|
|
|
int32 rasterNumLevels(Raster*);
|
|
|
|
void rasterFromImage(Raster *raster, Image *image);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|