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_batch_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_batch_private.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_batch_private.hh b/source/blender/gpu/intern/gpu_batch_private.hh
index a5a863310a1..a9293a5b206 100644
--- a/source/blender/gpu/intern/gpu_batch_private.hh
+++ b/source/blender/gpu/intern/gpu_batch_private.hh
@@ -30,4 +30,18 @@
#include "GPU_context.h"
#include "GPU_shader_interface.h"
+namespace blender {
+namespace gpu {
+
+class Batch : public GPUBatch {
+ public:
+ Batch(){};
+ virtual ~Batch(){};
+
+ virtual void draw(int v_first, int v_count, int i_first, int i_count) = 0;
+};
+
+} // namespace gpu
+} // namespace blender
+
void gpu_batch_remove_interface_ref(GPUBatch *batch, const GPUShaderInterface *interface);