Blender V5.0
blender::ed::sculpt_paint::undo::PositionUndoStorage Struct Reference

Inherits blender::NonMovable.

Public Member Functions

 PositionUndoStorage (StepData &step_data)
 ~PositionUndoStorage ()
void ensure_compression_complete ()
Public Member Functions inherited from blender::NonMovable
 NonMovable (NonMovable &&other)=delete
NonMovableoperator= (NonMovable &&other)=delete
 NonMovable ()=default
 NonMovable (const NonMovable &other)=default
NonMovableoperator= (const NonMovable &other)=default

Static Public Member Functions

static void compress_fn (TaskPool *, void *task_data)

Public Attributes

Vector< std::unique_ptr< Node > > nodes_to_compress
bool multires_undo
Array< Array< std::byte > > compressed_indices
Array< Array< std::byte > > compressed_positions
Array< int > unique_verts_nums
TaskPoolcompression_task_pool
std::atomic< bool > compression_ready = false
std::atomic< bool > compression_started = false
StepDataowner_step_data = nullptr

Detailed Description

Definition at line 354 of file sculpt_undo.cc.

Constructor & Destructor Documentation

◆ PositionUndoStorage()

◆ ~PositionUndoStorage()

blender::ed::sculpt_paint::undo::PositionUndoStorage::~PositionUndoStorage ( )
inline

Member Function Documentation

◆ compress_fn()

◆ ensure_compression_complete()

void blender::ed::sculpt_paint::undo::PositionUndoStorage::ensure_compression_complete ( )
inline

Member Data Documentation

◆ compressed_indices

Array<Array<std::byte> > blender::ed::sculpt_paint::undo::PositionUndoStorage::compressed_indices

◆ compressed_positions

Array<Array<std::byte> > blender::ed::sculpt_paint::undo::PositionUndoStorage::compressed_positions

◆ compression_ready

std::atomic<bool> blender::ed::sculpt_paint::undo::PositionUndoStorage::compression_ready = false

Definition at line 367 of file sculpt_undo.cc.

Referenced by ensure_compression_complete().

◆ compression_started

std::atomic<bool> blender::ed::sculpt_paint::undo::PositionUndoStorage::compression_started = false

Definition at line 368 of file sculpt_undo.cc.

Referenced by ~PositionUndoStorage().

◆ compression_task_pool

TaskPool* blender::ed::sculpt_paint::undo::PositionUndoStorage::compression_task_pool

Definition at line 366 of file sculpt_undo.cc.

Referenced by ensure_compression_complete(), and ~PositionUndoStorage().

◆ multires_undo

bool blender::ed::sculpt_paint::undo::PositionUndoStorage::multires_undo

Definition at line 356 of file sculpt_undo.cc.

Referenced by PositionUndoStorage().

◆ nodes_to_compress

Vector<std::unique_ptr<Node> > blender::ed::sculpt_paint::undo::PositionUndoStorage::nodes_to_compress

Definition at line 355 of file sculpt_undo.cc.

Referenced by PositionUndoStorage().

◆ owner_step_data

StepData* blender::ed::sculpt_paint::undo::PositionUndoStorage::owner_step_data = nullptr

Definition at line 369 of file sculpt_undo.cc.

Referenced by PositionUndoStorage().

◆ unique_verts_nums

Array<int> blender::ed::sculpt_paint::undo::PositionUndoStorage::unique_verts_nums

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