diff -r 121a40d5e34c -r 8e1c9f18ae15 src/gl/basicshaderprogram.h --- a/src/gl/basicshaderprogram.h Tue Jul 27 13:23:34 2021 +0300 +++ b/src/gl/basicshaderprogram.h Tue Jul 27 16:29:00 2021 +0300 @@ -37,6 +37,7 @@ virtual void setupVertexArrays() = 0; // \returns what kind of elements are drawn (GL_QUADS, GL_TRIANGLES, GL_LINES, etc) virtual GLenum drawMode() const = 0; + virtual QOpenGLBuffer::UsagePattern usagePattern() const = 0; bool isInitialized = false; QOpenGLBuffer buffer; QOpenGLShader vertexShader;