A 3d fps game made in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Symmetry/src/framebuffer.h

18 lines
550 B

#ifndef framebuffer_H
#define framebuffer_H
#include "num_types.h"
void framebuffer_init(void);
void framebuffer_cleanup(void);
int framebuffer_create(int width, int height, int has_depth, int has_color);
void framebuffer_bind(int index);
void framebuffer_remove(int index);
void framebuffer_unbind(void);
int framebuffer_get_width(int index);
int framebuffer_get_height(int index);
void framebuffer_set_texture(int index, int texture, int attachment);
int framebuffer_get_texture(int index);
uint framebuffer_get_gl_handle(int index);
#endif