vulkan_test2
view src/vkgl.h @ 10:8eb3126cc2f1
starting on shaders
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 21 Jun 2018 06:58:58 +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_ */