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