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/GPU_buffers.h')
-rw-r--r--source/blender/gpu/GPU_buffers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h
index a50d63d89ec..8bb3ef4a3bc 100644
--- a/source/blender/gpu/GPU_buffers.h
+++ b/source/blender/gpu/GPU_buffers.h
@@ -48,6 +48,7 @@ struct DMFlagMat;
struct DerivedMesh;
struct GSet;
struct GPUVertPointLink;
+struct GPUDrawObject;
struct PBVH;
struct MVert;
@@ -71,6 +72,8 @@ typedef struct GPUBufferMaterial {
short mat_nr;
} GPUBufferMaterial;
+void GPU_buffer_material_finalize(struct GPUDrawObject *gdo, GPUBufferMaterial *matinfo, int totmat);
+
/* meshes are split up by material since changing materials requires
* GL state changes that can't occur in the middle of drawing an
* array.