vulkan_test2

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/vkgl.h	Wed Jun 20 05:57:34 2018 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +#ifndef VKGL_H_
     1.5 +#define VKGL_H_
     1.6 +
     1.7 +enum {
     1.8 +	VKGL_COLOR_BUFFER_BIT = 1,
     1.9 +	VKGL_DEPTH_BUFFER_BIT = 2,
    1.10 +	VKGL_STENCIL_BUFFER_BIT = 4
    1.11 +};
    1.12 +
    1.13 +void vkgl_clear_color(float r, float g, float b, float a);
    1.14 +void vkgl_clear_depth(float z);
    1.15 +void vkgl_clear_stencil(int s);
    1.16 +void vkgl_clear(unsigned int flags);
    1.17 +
    1.18 +#endif	/* VKGL_H_ */