|
Blender V5.0
|
#include <BKE_subdiv_modifier.hh>
Public Attributes | |
| blender::bke::subdiv::Settings | settings |
| blender::bke::subdiv::Subdiv * | subdiv_cpu |
| blender::bke::subdiv::Subdiv * | subdiv_gpu |
| char | used_cpu |
| char | used_gpu |
| bool | has_gpu_subdiv |
| int | resolution |
| bool | use_optimal_display |
| bool | use_loop_normals |
| int | stats_totvert |
| int | stats_totedge |
| int | stats_faces_num |
| int | stats_totloop |
Runtime subsurf modifier data, cached in modifier on evaluated meshes.
Definition at line 33 of file BKE_subdiv_modifier.hh.
| bool SubsurfRuntimeData::has_gpu_subdiv |
Cached mesh wrapper data, to be used for GPU subdiv or lazy evaluation on CPU.
Definition at line 49 of file BKE_subdiv_modifier.hh.
Referenced by BKE_subsurf_modifier_has_gpu_subdiv(), blender::draw::draw_subdiv_create_requested_buffers(), stats_mesheval(), and subdiv_cache_mesh_wrapper_settings().
| int SubsurfRuntimeData::resolution |
Definition at line 50 of file BKE_subdiv_modifier.hh.
Referenced by mesh_wrapper_ensure_subdivision(), and subdiv_cache_mesh_wrapper_settings().
| blender::bke::subdiv::Settings SubsurfRuntimeData::settings |
Subdivision settings, exists before descriptor or mesh wrapper is created.
Definition at line 35 of file BKE_subdiv_modifier.hh.
Referenced by BKE_subsurf_modifier_runtime_init(), BKE_subsurf_modifier_subdiv_descriptor_ensure(), blender::draw::draw_subdiv_create_requested_buffers(), and mesh_wrapper_ensure_subdivision().
| int SubsurfRuntimeData::stats_faces_num |
Definition at line 57 of file BKE_subdiv_modifier.hh.
Referenced by blender::draw::draw_subdiv_create_requested_buffers(), and stats_mesheval().
| int SubsurfRuntimeData::stats_totedge |
Definition at line 56 of file BKE_subdiv_modifier.hh.
Referenced by blender::draw::draw_subdiv_create_requested_buffers(), and stats_mesheval().
| int SubsurfRuntimeData::stats_totloop |
Definition at line 58 of file BKE_subdiv_modifier.hh.
Referenced by blender::draw::draw_subdiv_create_requested_buffers(), and stats_mesheval().
| int SubsurfRuntimeData::stats_totvert |
Cached from the draw code for stats display.
Definition at line 55 of file BKE_subdiv_modifier.hh.
Referenced by blender::draw::draw_subdiv_create_requested_buffers(), and stats_mesheval().
| blender::bke::subdiv::Subdiv* SubsurfRuntimeData::subdiv_cpu |
Cached subdivision surface descriptor, with topology and settings.
Definition at line 38 of file BKE_subdiv_modifier.hh.
Referenced by BKE_subsurf_modifier_subdiv_descriptor_ensure(), deform_matrices(), free_runtime_data(), mesh_wrapper_ensure_subdivision(), and modify_mesh().
| blender::bke::subdiv::Subdiv* SubsurfRuntimeData::subdiv_gpu |
Definition at line 39 of file BKE_subdiv_modifier.hh.
Referenced by BKE_subsurf_modifier_subdiv_descriptor_ensure(), deform_matrices(), blender::draw::draw_subdiv_create_requested_buffers(), free_runtime_data(), mesh_wrapper_ensure_subdivision(), and modify_mesh().
| bool SubsurfRuntimeData::use_loop_normals |
Definition at line 52 of file BKE_subdiv_modifier.hh.
Referenced by blender::draw::draw_subdiv_create_requested_buffers(), mesh_wrapper_ensure_subdivision(), and subdiv_cache_mesh_wrapper_settings().
| bool SubsurfRuntimeData::use_optimal_display |
Definition at line 51 of file BKE_subdiv_modifier.hh.
Referenced by blender::draw::draw_subdiv_create_requested_buffers(), mesh_wrapper_ensure_subdivision(), and subdiv_cache_mesh_wrapper_settings().
| char SubsurfRuntimeData::used_cpu |
Recent usage markers for UI diagnostics. To avoid UI flicker due to races between evaluation and UI redraw, they are set to 2 when an evaluator is used, and count down every frame.
Definition at line 46 of file BKE_subdiv_modifier.hh.
Referenced by BKE_subsurf_modifier_runtime_init(), BKE_subsurf_modifier_subdiv_descriptor_ensure(), modify_mesh(), and panel_draw().
| char SubsurfRuntimeData::used_gpu |
Definition at line 46 of file BKE_subdiv_modifier.hh.
Referenced by BKE_subsurf_modifier_runtime_init(), BKE_subsurf_modifier_subdiv_descriptor_ensure(), modify_mesh(), and panel_draw().