File: meshqueue.h

package info (click to toggle)
darkplaces 0~20180908~beta1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 17,396 kB
  • sloc: ansic: 152,935; pascal: 393; makefile: 392; perl: 372; objc: 245; sh: 102
file content (12 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12

#ifndef MESHQUEUE_H
#define MESHQUEUE_H

// VorteX: seems this value is hardcoded in other several defines as it's changing makes mess
#define MESHQUEUE_TRANSPARENT_BATCHSIZE 256

void R_MeshQueue_BeginScene(void);
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);
void R_MeshQueue_RenderTransparent(void);

#endif