X-Git-Url: https://eleni.mutantstargoat.com/git/?p=demo;a=blobdiff_plain;f=src%2Fshader.h;h=28832f68a11dfe1a81ac4df9fa62209d8521f7f0;hp=1472fb31dc9c5cd977de884f72f1590e78ee19de;hb=826b0cf7adaf8b1dc4c37f57a4a98c79a3995e21;hpb=c47ed466e38c143cc9229c201d3bec42684ddd06 diff --git a/src/shader.h b/src/shader.h index 1472fb3..28832f6 100644 --- a/src/shader.h +++ b/src/shader.h @@ -33,6 +33,11 @@ public: virtual void add_shader(Shader *sdr); virtual bool link() = 0; virtual bool load(const char *vfname, const char *ffname) = 0; + virtual void use() = 0; + + /* THIS PART IS GOING TO BE CHANGED: on vulkan we set the uniforms + using descriptor sets. The current design is suitable for OpenGL and + it has to become more generic to work with both APIs later. */ }; #endif // SHADER_H_