]> git.xonotic.org Git - xonotic/darkplaces.git/blob - meshqueue.h
Improving Doxyfile, adding GENERATE_TREEVIEW and SEARCHENGINE variable features
[xonotic/darkplaces.git] / meshqueue.h
1
2 #ifndef MESHQUEUE_H
3 #define MESHQUEUE_H
4
5 // VorteX: seems this value is hardcoded in other several defines as it's changing makes mess
6 #define MESHQUEUE_TRANSPARENT_BATCHSIZE 256
7
8 void R_MeshQueue_BeginScene(void);
9 void R_MeshQueue_AddTransparent(dptransparentsortcategory_t category, const vec3_t center, void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int surfacenumber, const rtlight_t *rtlight);
10 void R_MeshQueue_RenderTransparent(void);
11
12 #endif