diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_storage_buffer.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_storage_buffer.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_storage_buffer.hh b/source/blender/gpu/opengl/gl_storage_buffer.hh index d657a4de09c..c808a0bdda1 100644 --- a/source/blender/gpu/opengl/gl_storage_buffer.hh +++ b/source/blender/gpu/opengl/gl_storage_buffer.hh @@ -37,6 +37,9 @@ class GLStorageBuf : public StorageBuf { void unbind() override; void clear(eGPUTextureFormat internal_format, eGPUDataFormat data_format, void *data) override; + /* Special internal function to bind SSBOs to indirect argument targets. */ + void bind_as(GLenum target); + private: void init(); |