From 3a6e981bcd579b3fda039ff33f95d4baacc96465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Fri, 21 Aug 2020 14:14:56 +0200 Subject: Cleanup: GPU: Update classes comments This should avoid confusion about what is a class and what is an opaque pointer. --- source/blender/gpu/intern/gpu_state_private.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/gpu/intern/gpu_state_private.hh') diff --git a/source/blender/gpu/intern/gpu_state_private.hh b/source/blender/gpu/intern/gpu_state_private.hh index f325f035f28..a1bfefbaff5 100644 --- a/source/blender/gpu/intern/gpu_state_private.hh +++ b/source/blender/gpu/intern/gpu_state_private.hh @@ -151,6 +151,10 @@ inline GPUStateMutable operator~(const GPUStateMutable &a) return r; } +/** + * State manager keeping track of the draw state and applying it before drawing. + * Base class which is then specialized for each implementation (GL, VK, ...). + **/ class GPUStateManager { public: GPUState state; -- cgit v1.2.3