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_backend.hh')
-rw-r--r--source/blender/gpu/intern/gpu_backend.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_backend.hh b/source/blender/gpu/intern/gpu_backend.hh
index 2b6e485f152..56d7c3b4e46 100644
--- a/source/blender/gpu/intern/gpu_backend.hh
+++ b/source/blender/gpu/intern/gpu_backend.hh
@@ -9,6 +9,8 @@
#pragma once
+#include "GPU_vertex_buffer.h"
+
namespace blender {
namespace gpu {
@@ -22,6 +24,7 @@ class QueryPool;
class Shader;
class Texture;
class UniformBuf;
+class StorageBuf;
class VertBuf;
class GPUBackend {
@@ -43,6 +46,7 @@ class GPUBackend {
virtual Shader *shader_alloc(const char *name) = 0;
virtual Texture *texture_alloc(const char *name) = 0;
virtual UniformBuf *uniformbuf_alloc(int size, const char *name) = 0;
+ virtual StorageBuf *storagebuf_alloc(int size, GPUUsageType usage, const char *name) = 0;
virtual VertBuf *vertbuf_alloc() = 0;
};