Blender V5.3
blender::index_mask::detail Namespace Reference

Functions

IndexMask from_predicate_impl (const IndexMask &universe, LinearAllocator<> &memory, FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices, exec_mode::Mode mode)
template<typename T, typename SegmentT>
void gather_assign_segment (const T *__restrict src, const SegmentT segment, T *__restrict dst)
template<typename T, typename SegmentT>
void copy_assign_segment (const T *__restrict src, const SegmentT segment, T *__restrict dst)
template<typename T, typename SegmentT>
void fill_segment (T *__restrict data, const T &value, const SegmentT segment)
template<typename T>
BLI_NOINLINE void copy_assign (const T *__restrict src, const IndexMask &mask, T *__restrict dst)
template<typename T>
BLI_NOINLINE void gather_assign (const T *__restrict src, const IndexMask &indices, T *__restrict dst)
template<typename T>
BLI_NOINLINE void fill (T *__restrict data, const T &value, const IndexMask &mask)
static void segments_from_predicate_filter (const IndexMaskSegment universe_segment, LinearAllocator<> &allocator, const FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices, Vector< IndexMaskSegment, 16 > &r_segments)
IndexMask from_predicate_impl (const IndexMask &universe, LinearAllocator<> &memory, const FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices, const exec_mode::Mode mode)

Function Documentation

◆ copy_assign()

template<typename T>
BLI_NOINLINE void blender::index_mask::detail::copy_assign ( const T *__restrict src,
const IndexMask & mask,
T *__restrict dst )

◆ copy_assign_segment()

template<typename T, typename SegmentT>
void blender::index_mask::detail::copy_assign_segment ( const T *__restrict src,
const SegmentT segment,
T *__restrict dst )
inline

Definition at line 1195 of file BLI_index_mask.hh.

References copy_assign_segment(), and T.

Referenced by copy_assign(), and copy_assign_segment().

◆ fill()

template<typename T>
BLI_NOINLINE void blender::index_mask::detail::fill ( T *__restrict data,
const T & value,
const IndexMask & mask )

◆ fill_segment()

template<typename T, typename SegmentT>
void blender::index_mask::detail::fill_segment ( T *__restrict data,
const T & value,
const SegmentT segment )
inline

◆ from_predicate_impl() [1/2]

◆ from_predicate_impl() [2/2]

IndexMask blender::index_mask::detail::from_predicate_impl ( const IndexMask & universe,
LinearAllocator<> & memory,
FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices,
exec_mode::Mode mode )

◆ gather_assign()

◆ gather_assign_segment()

template<typename T, typename SegmentT>
void blender::index_mask::detail::gather_assign_segment ( const T *__restrict src,
const SegmentT segment,
T *__restrict dst )
inline

Definition at line 1182 of file BLI_index_mask.hh.

References gather_assign_segment(), and T.

Referenced by gather_assign(), and gather_assign_segment().

◆ segments_from_predicate_filter()

void blender::index_mask::detail::segments_from_predicate_filter ( const IndexMaskSegment universe_segment,
LinearAllocator<> & allocator,
const FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices,
Vector< IndexMaskSegment, 16 > & r_segments )
static