refactor: pass structs as pointers except for background things
This commit is contained in:
+6
-6
@@ -4,19 +4,19 @@
|
||||
#define SHADERS_H
|
||||
|
||||
void shaders_init(ShaderProgram *program, Project *project,
|
||||
SharedContext *context, VideoCaptureArray inputs,
|
||||
SharedContext *context, VideoCaptureArray *inputs,
|
||||
bool rebind);
|
||||
|
||||
void shaders_update(ShaderProgram program, File fragment_shader,
|
||||
void shaders_update(ShaderProgram *program, File *fragment_shader,
|
||||
unsigned int i);
|
||||
|
||||
void shaders_compute(ShaderProgram program, SharedContext *context,
|
||||
void shaders_compute(ShaderProgram *program, SharedContext *context,
|
||||
bool monitor, bool output_only);
|
||||
|
||||
void shaders_free(ShaderProgram program);
|
||||
void shaders_free(ShaderProgram *program);
|
||||
|
||||
void shaders_free_window(ShaderProgram program, bool secondary);
|
||||
void shaders_free_window(ShaderProgram *program, bool secondary);
|
||||
|
||||
void shaders_free_input(ShaderProgram program, VideoCapture input);
|
||||
void shaders_free_input(ShaderProgram *program, VideoCapture *input);
|
||||
|
||||
#endif /* SHADERS_H */
|
||||
Reference in New Issue
Block a user