Blender
V3.3
|
Public Attributes | |
CurvesEvalCache | curves_cache |
GPUBatch * | edit_points |
bool | is_dirty |
ThreadMutex | render_mutex |
Definition at line 50 of file draw_cache_impl_curves.cc.
CurvesEvalCache CurvesBatchCache::curves_cache |
Definition at line 51 of file draw_cache_impl_curves.cc.
Referenced by curves_batch_cache_clear(), curves_ensure_attributes(), curves_ensure_procedural_data(), DRW_curves_batch_cache_create_requested(), DRW_curves_batch_cache_free_old(), DRW_curves_texture_for_evaluated_attribute(), and request_attribute().
GPUBatch* CurvesBatchCache::edit_points |
Definition at line 53 of file draw_cache_impl_curves.cc.
Referenced by curves_batch_cache_clear(), DRW_curves_batch_cache_create_requested(), and DRW_curves_batch_cache_get_edit_points().
bool CurvesBatchCache::is_dirty |
Definition at line 56 of file draw_cache_impl_curves.cc.
Referenced by curves_batch_cache_init(), curves_batch_cache_valid(), and DRW_curves_batch_cache_dirty_tag().
ThreadMutex CurvesBatchCache::render_mutex |
The draw cache extraction is currently not multi-threaded for multiple objects, but if it was, some locking would be necessary because multiple objects can use the same curves data with different materials, etc. This is a placeholder to make multi-threading easier in the future.
Definition at line 63 of file draw_cache_impl_curves.cc.
Referenced by curves_batch_cache_init(), curves_ensure_attributes(), DRW_curves_batch_cache_free(), and request_attribute().