mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Shaders loaded from files
This commit is contained in:
parent
3fb96ff636
commit
7cff6ef6db
8 changed files with 504 additions and 273 deletions
|
@ -8,7 +8,8 @@
|
|||
GLShader();
|
||||
~GLShader();
|
||||
|
||||
bool load(const char *fragment_shader, const char *vertex_shader);
|
||||
bool load_from_text(const char *fragment_shader, const char *vertex_shader);
|
||||
bool load_from_file(const char *fragment_shader, const char *vertex_shader);
|
||||
void release();
|
||||
|
||||
int get_attrib_location(const char *name) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue