diff options
author | Bastien Montagne <bastien@blender.org> | 2022-05-17 18:34:51 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-05-17 18:34:51 +0300 |
commit | b3b5d4cabb9653b9e5ddb9650378da4dc4aaac20 (patch) | |
tree | 818b8472686e1e142b4bb6530fd112f34b61febc /source/blender/blenkernel/BKE_subdiv_modifier.h | |
parent | 8c9805fc628223984ad0c664b5a49b7f9eec0caa (diff) | |
parent | 83349294b12f904bc1295c53e0242ea92c593c93 (diff) |
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_modifier.h')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv_modifier.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_modifier.h b/source/blender/blenkernel/BKE_subdiv_modifier.h index e9de7d1532e..4ad17610207 100644 --- a/source/blender/blenkernel/BKE_subdiv_modifier.h +++ b/source/blender/blenkernel/BKE_subdiv_modifier.h @@ -42,18 +42,14 @@ bool BKE_subsurf_modifier_force_disable_gpu_evaluation_for_mesh( * \param skip_check_is_last: When true, we assume that the modifier passed is the last enabled * modifier in the stack. */ -bool BKE_subsurf_modifier_can_do_gpu_subdiv_ex(const struct Scene *scene, - const struct Object *ob, - const struct Mesh *mesh, - const struct SubsurfModifierData *smd, - int required_mode, - bool skip_check_is_last); - bool BKE_subsurf_modifier_can_do_gpu_subdiv(const struct Scene *scene, const struct Object *ob, const struct Mesh *mesh, + const struct SubsurfModifierData *smd, int required_mode); +bool BKE_subsurf_modifier_has_gpu_subdiv(const struct Mesh *mesh); + extern void (*BKE_subsurf_modifier_free_gpu_cache_cb)(struct Subdiv *subdiv); /** |