naev
0.10.4
src
render.h
1
/*
2
* See Licensing and Copyright notice in naev.h
3
*/
4
#pragma once
5
6
#include "nlua_shader.h"
7
8
enum
{
9
PP_LAYER_GAME,
10
PP_LAYER_GUI,
11
PP_LAYER_FINAL,
12
PP_LAYER_MAX,
13
};
14
15
#define PP_SHADER_PERMANENT (1<<0)
17
void
fps_setPos
(
double
x,
double
y );
18
void
render_all(
double
game_dt
,
double
real_dt
);
19
void
render_init (
void
);
20
void
render_exit (
void
);
21
22
unsigned
int
render_postprocessAdd(
LuaShader_t
*shader,
int
layer,
int
priority,
unsigned
int
flags );
23
int
render_postprocessRm(
unsigned
int
id
);
24
void
render_postprocessCleanup (
void
);
25
26
/* Special post-processing shaders. */
27
void
render_setGamma(
double
gamma );
game_dt
static double game_dt
Definition:
naev.c:112
real_dt
static double real_dt
Definition:
naev.c:113
fps_setPos
void fps_setPos(double x, double y)
Sets the position to display the FPS.
Definition:
naev.c:904
LuaShader_t
Definition:
nlua_shader.h:31
Generated by
1.9.3