Blender  V3.3
Public Attributes | List of all members
CurvesBatchCache Struct Reference

Public Attributes

CurvesEvalCache curves_cache
 
GPUBatchedit_points
 
bool is_dirty
 
ThreadMutex render_mutex
 

Detailed Description

Definition at line 50 of file draw_cache_impl_curves.cc.

Member Data Documentation

◆ curves_cache

CurvesEvalCache CurvesBatchCache::curves_cache

◆ edit_points

GPUBatch* CurvesBatchCache::edit_points

◆ is_dirty

bool CurvesBatchCache::is_dirty

◆ render_mutex

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().


The documentation for this struct was generated from the following file: