diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-16 22:41:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-17 14:38:42 +0300 |
commit | 52669dda8049e05eaf0bc8147ef477a05c3717da (patch) | |
tree | dd846fbbd1882fb5bb19a6337f12732b0ebb26b8 /source/blender/draw/intern/DRW_render.h | |
parent | b526221315e5734306ef3bf5e520529d7f9e24a2 (diff) |
Eevee: Remove the Volumetric Render checkbox
This is to simplify the usage of Volumetrics.
Now it automatically detect if there is any Volumetric material in the
view and allocate the needed buffer if any.
Diffstat (limited to 'source/blender/draw/intern/DRW_render.h')
-rw-r--r-- | source/blender/draw/intern/DRW_render.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/intern/DRW_render.h b/source/blender/draw/intern/DRW_render.h index 8337255464a..8d4d66e5853 100644 --- a/source/blender/draw/intern/DRW_render.h +++ b/source/blender/draw/intern/DRW_render.h @@ -525,6 +525,8 @@ void DRW_pass_sort_shgroup_z(DRWPass *pass); bool DRW_pass_is_empty(DRWPass *pass); +#define DRW_PASS_CREATE(pass, state) (pass = DRW_pass_create(#pass, state)) + /* Viewport */ typedef enum { /* keep in sync with the union struct DRWMatrixState. */ |