Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/intern/gpu_state_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_state_private.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_state_private.hh b/source/blender/gpu/intern/gpu_state_private.hh
index 61234c4612c..6ce240df108 100644
--- a/source/blender/gpu/intern/gpu_state_private.hh
+++ b/source/blender/gpu/intern/gpu_state_private.hh
@@ -26,6 +26,8 @@
#include "GPU_state.h"
+#include "gpu_texture_private.hh"
+
#include <cstring>
namespace blender {
@@ -160,6 +162,10 @@ class GPUStateManager {
virtual ~GPUStateManager(){};
virtual void apply_state(void) = 0;
+
+ virtual void texture_bind(Texture *tex, eGPUSamplerState sampler, int unit) = 0;
+ virtual void texture_unbind(Texture *tex) = 0;
+ virtual void texture_unbind_all(void) = 0;
};
} // namespace gpu