Skip to main content

SegmentInstanceStorage

Type Alias SegmentInstanceStorage 

Source
pub type SegmentInstanceStorage = Storage<BrushSegmentation>;

Aliased Type§

pub struct SegmentInstanceStorage {
    data: Vec<BrushSegmentation>,
    open_count: u32,
}

Fields§

§data: Vec<BrushSegmentation>§open_count: u32

Debug-only count of currently open ranges. Incremented by open_range, decremented by close_range. clear/recycle assert this is zero so a forgotten close_range is caught at frame reset rather than silently producing wrong ranges later.