Blender V4.3
blender::index_mask::RawMaskIterator Struct Reference

#include <BLI_index_mask.hh>

Public Attributes

int64_t segment_i
 
int16_t index_in_segment
 

Detailed Description

Encodes a position in an #IndexMask. The term "raw" just means that this does not have the usual iterator methods like operator++. Supporting those would require storing more data. Generally, the fastest way to iterate over an #IndexMask is using a foreach_* method anyway.

Definition at line 51 of file BLI_index_mask.hh.

Member Data Documentation

◆ index_in_segment

int16_t blender::index_mask::RawMaskIterator::index_in_segment

Element within the segment.

Definition at line 55 of file BLI_index_mask.hh.

Referenced by blender::index_mask::IndexMask::slice(), and blender::index_mask::IndexMask::slice().

◆ segment_i

int64_t blender::index_mask::RawMaskIterator::segment_i

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