diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-04 01:46:26 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-04 15:11:04 +0300 |
commit | 1d8ed6dcd7cd2b3ccfaaacb59387dca481262eb6 (patch) | |
tree | afec238e5e564dcc4f3c4c7bc2717bd9fdf604d8 /source/blender/gpu/GPU_buffers.h | |
parent | 80cd292381cb599115782dc98f5999a2fbbe4d67 (diff) |
GPUBuffers: Save / expose material index per buffers
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index 20047174bb1..b9ec897a9ec 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -88,6 +88,8 @@ void GPU_pbvh_grid_buffers_update(GPU_PBVH_Buffers *buffers, /* draw */ struct GPUBatch *GPU_pbvh_buffers_batch_get(GPU_PBVH_Buffers *buffers, bool fast, bool wires); +short GPU_pbvh_buffers_material_index_get(GPU_PBVH_Buffers *buffers); + bool GPU_pbvh_buffers_has_mask(GPU_PBVH_Buffers *buffers); /* debug PBVH draw */ |