Skip to main content

SegmentStorage

Type Alias SegmentStorage 

Source
pub type SegmentStorage = Storage<BrushSegment>;

Aliased Type§

pub struct SegmentStorage {
    data: Vec<BrushSegment>,
    open_count: u32,
}

Fields§

§data: Vec<BrushSegment>§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.