GPU: utility function to unregister presets
[blender.git] / source / blender / gpu / GPU_batch_presets.h
index 6b010396a9bc7347a51c62c0cc6af118f444aeae..d5cabf8bf904ac29da11a9fd46e3328d6f26ef10 100644 (file)
@@ -49,6 +49,7 @@ struct GPUBatch *GPU_batch_preset_sphere_wire(int lod) ATTR_WARN_UNUSED_RESULT;
 
 void gpu_batch_presets_init(void);
 void gpu_batch_presets_register(struct GPUBatch *preset_batch);
+bool gpu_batch_presets_unregister(struct GPUBatch *preset_batch);
 void gpu_batch_presets_reset(void);
 void gpu_batch_presets_exit(void);