27 return std::any_of(face_verts.
begin(), face_verts.
end(), [&](
const int vert) {
28 return facedot_tags[vert];
37 const int max_index =
mask.min_array_size();
41 mask.to_indices<
int>(
data.cast<
int>());
58 return !BM_elem_flag_test_bool(BM_face_at_index(&bm, i), BM_ELEM_HIDDEN);
static IndexMask from_predicate(const IndexMask &universe, LinearAllocator<> &memory, Fn &&predicate, exec_mode::Mode mode=exec_mode::parallel)
static IndexMask from_bools_inverse(Span< bool > bools, LinearAllocator<> &memory)
constexpr IndexRange()=default
constexpr Span slice(int64_t start, int64_t size) const
constexpr const T * end() const
constexpr const T * begin() const
constexpr bool is_empty() const
static gpu::IndexBufPtr extract_face_dots_mesh(const MeshRenderData &mr)
gpu::IndexBufPtr extract_face_dots(const MeshRenderData &mr)
static void index_mask_to_ibo(const IndexMask &mask, gpu::IndexBuf &ibo)
static IndexMask calc_face_visibility_mesh(const MeshRenderData &mr, IndexMaskMemory &memory)
static gpu::IndexBufPtr extract_face_dots_bm(const MeshRenderData &mr)
std::unique_ptr< IndexBuf, IndexBufDeleter > IndexBufPtr
void GPU_indexbuf_init(GPUIndexBufBuilder *, GPUPrimType, uint prim_len, uint vertex_len)
BMesh const char void * data
MutableSpan< uint32_t > GPU_indexbuf_get_data(GPUIndexBufBuilder *)
gpu::IndexBuf * GPU_indexbuf_build_ex(GPUIndexBufBuilder *builder, uint index_min, uint index_max, bool uses_restart_indices)
bke::MeshRuntime * runtime
BitVector subsurf_face_dot_tags
MeshExtractType extract_type
VArraySpan< bool > hide_poly
OffsetIndices< int > faces