projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
buffer allocation
[demo]
/
src
/
shader.h
diff --git
a/src/shader.h
b/src/shader.h
index
86cfed2
..
6e9509a
100644
(file)
--- a/
src/shader.h
+++ b/
src/shader.h
@@
-1,6
+1,8
@@
#ifndef SHADER_H_
#define SHADER_H_
#ifndef SHADER_H_
#define SHADER_H_
+#include <vulkan/vulkan.h>
+
#include <vector>
#include <string>
#include <vector>
#include <string>
@@
-30,6
+32,7
@@
public:
virtual bool load(const char *fname, SType type);
virtual void destroy() = 0;
virtual bool load(const char *fname, SType type);
virtual void destroy() = 0;
+ virtual SType get_type();
};
/* Shader Program */
};
/* Shader Program */