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:
authormano-wii <germano.costa@ig.com.br>2019-03-22 18:53:50 +0300
committermano-wii <germano.costa@ig.com.br>2019-03-22 19:08:03 +0300
commit40f8f445a3f9b6bc24b58e45be46060cc36c0394 (patch)
treea5f14bf7491802cf03e6f9e517753add589a9b8f /source/blender/draw/DRW_engine.h
parente061cb44378efaf159a30fb1c5834db48ffb2bb3 (diff)
DRW Manager: create and use new DRW_framebuffer_depth_read utility.
Diffstat (limited to 'source/blender/draw/DRW_engine.h')
-rw-r--r--source/blender/draw/DRW_engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h
index 68d4ef04f95..94d1bc61b57 100644
--- a/source/blender/draw/DRW_engine.h
+++ b/source/blender/draw/DRW_engine.h
@@ -126,6 +126,7 @@ void DRW_draw_depth_loop(
void DRW_framebuffer_select_id_setup(struct ARegion *ar, const bool clear);
void DRW_framebuffer_select_id_release(struct ARegion *ar);
void DRW_framebuffer_select_id_read(const struct rcti *rect, uint *r_buf);
+void DRW_framebuffer_depth_read(const struct rcti *rect, float *r_buf);
/* grease pencil render */
bool DRW_render_check_grease_pencil(struct Depsgraph *depsgraph);