diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-21 15:14:56 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-21 15:16:42 +0300 |
commit | 3a6e981bcd579b3fda039ff33f95d4baacc96465 (patch) | |
tree | 78350c493d69fb9aef14096e9bd960a66d730390 /source/blender/gpu/intern/gpu_shader_interface.hh | |
parent | 220fbdf59341f620c06959280e2145132003c5df (diff) |
Cleanup: GPU: Update classes comments
This should avoid confusion about what is a class and what is an opaque
pointer.
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_interface.hh')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_interface.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_interface.hh b/source/blender/gpu/intern/gpu_shader_interface.hh index 76925f4fddb..b40a3abd3e0 100644 --- a/source/blender/gpu/intern/gpu_shader_interface.hh +++ b/source/blender/gpu/intern/gpu_shader_interface.hh @@ -45,6 +45,10 @@ typedef struct ShaderInput { int32_t binding; } ShaderInput; +/** + * Implementation of Shader interface. + * Base class which is then specialized for each implementation (GL, VK, ...). + **/ class ShaderInterface { /* TODO(fclem) should be protected. */ public: |