Blender V4.3
blender::draw::CurvesBatchCache Struct Reference

Public Attributes

CurvesEvalCache eval_cache
 
gpu::Batch * edit_points
 
gpu::Batch * edit_handles
 
gpu::Batch * sculpt_cage
 
gpu::IndexBufsculpt_cage_ibo
 
gpu::VertBufedit_points_pos
 
gpu::VertBufedit_points_data
 
gpu::VertBufedit_points_selection
 
gpu::IndexBufedit_handles_ibo
 
gpu::Batch * edit_curves_lines
 
gpu::VertBufedit_curves_lines_pos
 
gpu::IndexBufedit_curves_lines_ibo
 
bool is_dirty
 
std::mutex render_mutex
 

Detailed Description

Definition at line 58 of file draw_cache_impl_curves.cc.

Member Data Documentation

◆ edit_curves_lines

gpu::Batch* blender::draw::CurvesBatchCache::edit_curves_lines

◆ edit_curves_lines_ibo

gpu::IndexBuf* blender::draw::CurvesBatchCache::edit_curves_lines_ibo

◆ edit_curves_lines_pos

◆ edit_handles

◆ edit_handles_ibo

◆ edit_points

◆ edit_points_data

◆ edit_points_pos

◆ edit_points_selection

◆ eval_cache

◆ is_dirty

bool blender::draw::CurvesBatchCache::is_dirty

◆ render_mutex

std::mutex blender::draw::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 100 of file draw_cache_impl_curves.cc.

Referenced by blender::draw::ensure_attributes(), and blender::draw::request_attribute().

◆ sculpt_cage

◆ sculpt_cage_ibo


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