vulkan_test2
annotate 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 |
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_ */ |