diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-06-03 08:07:38 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-06-04 14:53:15 +0200 |
commit | 6eca6eb123588fab5db7a74718f81575f6b2220b (patch) | |
tree | bb8f9bc73b328232e8030bb4fd15cfabe84386d4 /src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h | |
parent | dd1d8f51e67ec93031fdd7f7930d63761d1238e6 (diff) |
GraphicsHelpers: add bindImageTexture support
Since GL 4.2 and ES 3.1
Change-Id: I3feaaa6e34b3031121771017763d51ac6ef07687
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h')
-rw-r--r-- | src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h b/src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h index fc273a2c2..914afc9ff 100644 --- a/src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h +++ b/src/render/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h @@ -78,6 +78,7 @@ public: void bindFrameBufferAttachment(QOpenGLTexture *texture, const Attachment &attachment) override; void bindFrameBufferAttachment(RenderBuffer *renderBuffer, const Attachment &attachment) override; void bindFrameBufferObject(GLuint frameBufferId, FBOBindMode mode) override; + void bindImageTexture(GLuint imageUnit, GLuint texture, GLint mipLevel, GLboolean layered, GLint layer, GLenum access, GLenum format) override; void bindShaderStorageBlock(GLuint programId, GLuint shaderStorageBlockIndex, GLuint shaderStorageBlockBinding) override; void bindUniformBlock(GLuint programId, GLuint uniformBlockIndex, GLuint uniformBlockBinding) override; void blendEquation(GLenum mode) override; |