#pragma once #include #include class FluidCellBuffer { private: const GLuint _nX; const GLuint _nY; GLuint _array; GLuint _buffer; public: FluidCellBuffer(GLuint nX, GLuint nY, std::function&& geometry); ~FluidCellBuffer(); GLuint getBuffer() const; void draw() const; };