16 bool ShaderVK::create(char *buf, unsigned int bsz, const char *fname)
21 bool ShaderVK::load(const char *fname, SType type)
26 void ShaderVK::destroy()
30 ShaderProgramVK::ShaderProgramVK()
34 ShaderProgramVK::~ShaderProgramVK()
38 bool ShaderProgramVK::create()
43 bool ShaderProgramVK::link()
48 bool ShaderProgramVK::use() const
53 void ShaderProgramVK::destroy()
57 void ShaderProgramVK::attach_shader(Shader *shader)
61 int ShaderProgramVK::get_uniform_location(const char *name) const
66 void ShaderProgramVK::set_uniformi(int location, int value)
70 void ShaderProgramVK::set_uniformi(int location, int x, int y)
74 void ShaderProgramVK::set_uniformi(int location, int x, int y, int z)
78 void ShaderProgramVK::set_uniformi(int location, int x, int y, int z, int w)
83 void ShaderProgramVK::set_uniformf(int location, float value)
87 void ShaderProgramVK::set_uniformf(int location, float x, float y)
91 void ShaderProgramVK::set_uniformf(int location, float x, float y, float z)
95 void ShaderProgramVK::set_uniformf(int location, float x, float y, float z, float w)
99 void ShaderProgramVK::set_uniform_matrix(int location, const Mat4 &mat)