vulkan_test2

view src/vkgl.h @ 7:20eb42197ab8

clear color ...
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 20 Jun 2018 05:57:34 +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_ */