vulkan_test2

view src/vkgl.h @ 8:633b522539a1

shaders
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 22 Jun 2018 02:08:06 +0300
parents
children
line source
1 #ifndef VKGL_H_
2 #define VKGL_H_
4 enum {
5 VKGL_COLOR_BUFFER_BIT = 1,
6 VKGL_DEPTH_BUFFER_BIT = 2,
7 VKGL_STENCIL_BUFFER_BIT = 4
8 };
10 void vkgl_clear_color(float r, float g, float b, float a);
11 void vkgl_clear_depth(float z);
12 void vkgl_clear_stencil(int s);
13 void vkgl_clear(unsigned int flags);
15 #endif /* VKGL_H_ */