From 2eb7f9925315989735b4fb746cbd7bda6c9bd5bb Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 16 Dec 2018 13:58:20 +0100 Subject: Parametrize lattice resolution --- src/shader/wrap/compute_shader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shader/wrap/compute_shader.h') diff --git a/src/shader/wrap/compute_shader.h b/src/shader/wrap/compute_shader.h index 74c8270..816b925 100644 --- a/src/shader/wrap/compute_shader.h +++ b/src/shader/wrap/compute_shader.h @@ -26,7 +26,8 @@ public: bool isGood() const; GLuint setUniform(const std::string& name, float x, float y) const; + GLuint setUniform(const std::string& name, unsigned int value) const; void workOn(GLuint bufferA, GLuint bufferB, GLuint bufferC) const; - void dispatch() const; + void dispatch(GLuint nX, GLuint nY) const; }; -- cgit v1.2.3