Blender V4.5
blender::bke::TrianglesCache Struct Reference

#include <BKE_mesh_types.hh>

Public Member Functions

void freeze ()
 
void unfreeze ()
 
void tag_dirty ()
 

Public Attributes

SharedCache< Array< int3 > > data
 
bool frozen = false
 
bool dirty_while_frozen = false
 

Detailed Description

Definition at line 119 of file BKE_mesh_types.hh.

Member Function Documentation

◆ freeze()

void blender::bke::TrianglesCache::freeze ( )

Delay applying dirty tags from tag_dirty() until unfreeze is called.

Definition at line 232 of file mesh_runtime.cc.

◆ tag_dirty()

void blender::bke::TrianglesCache::tag_dirty ( )

Call instead of data.tag_dirty().

Definition at line 247 of file mesh_runtime.cc.

References data.

◆ unfreeze()

void blender::bke::TrianglesCache::unfreeze ( )

Apply dirty tags from after freeze, and make future dirty tags apply immediately.

Definition at line 238 of file mesh_runtime.cc.

References data.

Member Data Documentation

◆ data

SharedCache<Array<int3> > blender::bke::TrianglesCache::data

Definition at line 120 of file BKE_mesh_types.hh.

◆ dirty_while_frozen

bool blender::bke::TrianglesCache::dirty_while_frozen = false

Definition at line 122 of file BKE_mesh_types.hh.

◆ frozen

bool blender::bke::TrianglesCache::frozen = false

Definition at line 121 of file BKE_mesh_types.hh.


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