2008-11-09 22:29:28 +00:00
|
|
|
#ifndef RENDERQUE_H
|
|
|
|
#define RENDERQUE_H
|
|
|
|
|
2010-07-11 02:22:39 +00:00
|
|
|
void RQ_BeginFrame(void);
|
2008-12-23 02:55:20 +00:00
|
|
|
void RQ_AddDistReorder(void (*render) (int count, void **objects, void *objtype), void *object, void *objtype, float *pos);
|
2004-08-23 00:15:46 +00:00
|
|
|
|
2008-12-23 02:55:20 +00:00
|
|
|
void RQ_RenderBatchClear(void);
|
2012-11-27 03:23:19 +00:00
|
|
|
void RQ_RenderBatch(void);
|
2004-08-23 00:15:46 +00:00
|
|
|
|
|
|
|
typedef struct renderque_s
|
|
|
|
{
|
|
|
|
struct renderque_s *next;
|
2008-12-23 02:55:20 +00:00
|
|
|
void (*render) (int count, void **objects, void *objtype);
|
2004-08-23 00:15:46 +00:00
|
|
|
void *data1;
|
|
|
|
void *data2;
|
|
|
|
} renderque_t;
|
2008-11-09 22:29:28 +00:00
|
|
|
|
|
|
|
#endif
|