Blender V4.3
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 97 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 231 of file mesh_runtime.cc.

◆ tag_dirty()

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

Call instead of data.tag_dirty().

Definition at line 246 of file mesh_runtime.cc.

◆ unfreeze()

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

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

Definition at line 237 of file mesh_runtime.cc.

Member Data Documentation

◆ data

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

Definition at line 98 of file BKE_mesh_types.hh.

◆ dirty_while_frozen

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

Definition at line 100 of file BKE_mesh_types.hh.

◆ frozen

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

Definition at line 99 of file BKE_mesh_types.hh.


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