|
Blender V5.0
|
Classes | |
| struct | ViewportRequest |
| class | DrawCache |
| struct | OrigMeshData |
| class | DrawCacheImpl |
Typedefs | |
| using | GenericRequest = std::string |
| using | AttributeRequest = std::variant<CustomRequest, GenericRequest> |
Enumerations | |
| enum class | CustomRequest : int8_t { Position , Normal , Mask , FaceSet } |
Functions | |
| DrawCache & | ensure_draw_data (std::unique_ptr< bke::pbvh::DrawCache > &ptr) |
| static BLI_NOINLINE void | free_ibos (const MutableSpan< gpu::IndexBufPtr > ibos, const IndexMask &node_mask) |
| static BLI_NOINLINE void | free_vbos (const MutableSpan< gpu::VertBufPtr > vbos, const IndexMask &node_mask) |
| static BLI_NOINLINE void | free_batches (const MutableSpan< gpu::Batch * > batches, const IndexMask &node_mask) |
| static const GPUVertFormat & | position_format () |
| static const GPUVertFormat & | normal_format () |
| static const GPUVertFormat & | mask_format () |
| static const GPUVertFormat & | face_set_format () |
| static GPUVertFormat | attribute_format (const OrigMeshData &orig_mesh_data, const StringRef name, const bke::AttrType data_type) |
| short4 | normal_float_to_short (const float3 &value) |
| template<typename T> | |
| void | extract_data_vert_mesh (const OffsetIndices< int > faces, const Span< int > corner_verts, const Span< T > attribute, const Span< int > face_indices, gpu::VertBuf &vbo) |
| template<typename T> | |
| void | extract_data_face_mesh (const OffsetIndices< int > faces, const Span< T > attribute, const Span< int > face_indices, gpu::VertBuf &vbo) |
| template<typename T> | |
| void | extract_data_corner_mesh (const OffsetIndices< int > faces, const Span< T > attribute, const Span< int > face_indices, gpu::VertBuf &vbo) |
| template<typename T> | |
| const T & | bmesh_cd_vert_get (const BMVert &vert, const int offset) |
| template<typename T> | |
| const T & | bmesh_cd_loop_get (const BMLoop &loop, const int offset) |
| template<typename T> | |
| const T & | bmesh_cd_face_get (const BMFace &face, const int offset) |
| template<typename T> | |
| void | extract_data_vert_bmesh (const Set< BMFace *, 0 > &faces, const int cd_offset, gpu::VertBuf &vbo) |
| template<typename T> | |
| void | extract_data_face_bmesh (const Set< BMFace *, 0 > &faces, const int cd_offset, gpu::VertBuf &vbo) |
| template<typename T> | |
| void | extract_data_corner_bmesh (const Set< BMFace *, 0 > &faces, const int cd_offset, gpu::VertBuf &vbo) |
| static int | count_visible_tris_bmesh (const Set< BMFace *, 0 > &faces) |
| static BLI_NOINLINE void | ensure_vbos_allocated_mesh (const Object &object, const GPUVertFormat &format, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | ensure_vbos_allocated_grids (const Object &object, const GPUVertFormat &format, const BitSpan use_flat_layout, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | ensure_vbos_allocated_bmesh (const Object &object, const GPUVertFormat &format, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static void | update_positions_mesh (const Object &object, const IndexMask &node_mask, MutableSpan< gpu::VertBufPtr > vbos) |
| static void | update_normals_mesh (const Object &object, const IndexMask &node_mask, MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_masks_mesh (const Object &object, const OrigMeshData &orig_mesh_data, const IndexMask &node_mask, MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_face_sets_mesh (const Object &object, const OrigMeshData &orig_mesh_data, const IndexMask &node_mask, MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_generic_attribute_mesh (const Object &object, const OrigMeshData &orig_mesh_data, const IndexMask &node_mask, const StringRef name, MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | fill_positions_grids (const Object &object, const BitSpan use_flat_layout, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | fill_normals_grids (const Object &object, const OrigMeshData &orig_mesh_data, const BitSpan use_flat_layout, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | fill_masks_grids (const Object &object, const BitSpan use_flat_layout, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | fill_face_sets_grids (const Object &object, const OrigMeshData &orig_mesh_data, const BitSpan use_flat_layout, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_positions_bmesh (const Object &object, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_normals_bmesh (const Object &object, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_masks_bmesh (const Object &object, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_face_sets_bmesh (const Object &object, const OrigMeshData &orig_mesh_data, const IndexMask &node_mask, const MutableSpan< gpu::VertBufPtr > vbos) |
| static BLI_NOINLINE void | update_generic_attribute_bmesh (const Object &object, const OrigMeshData &orig_mesh_data, const IndexMask &node_mask, const StringRef name, const MutableSpan< gpu::VertBufPtr > vbos) |
| static gpu::IndexBufPtr | create_lines_index_faces (const OffsetIndices< int > faces, const Span< bool > hide_poly, const Span< int > face_indices) |
| static gpu::IndexBufPtr | create_lines_index_bmesh (const Set< BMFace *, 0 > &faces, const int visible_faces_num) |
| static int | create_tri_index_grids (const Span< int > grid_indices, const BitGroupVector<> &grid_hidden, const int gridsize, const int skip, const int totgrid, MutableSpan< uint3 > data) |
| static int | create_tri_index_grids_flat_layout (const Span< int > grid_indices, const BitGroupVector<> &grid_hidden, const int gridsize, const int skip, const int totgrid, MutableSpan< uint3 > data) |
| static void | create_lines_index_grids (const Span< int > grid_indices, int display_gridsize, const BitGroupVector<> &grid_hidden, const int gridsize, const int skip, const int totgrid, MutableSpan< uint2 > data) |
| static void | create_lines_index_grids_flat_layout (const Span< int > grid_indices, int display_gridsize, const BitGroupVector<> &grid_hidden, const int gridsize, const int skip, const int totgrid, MutableSpan< uint2 > data) |
| static Array< int > | calc_material_indices (const Object &object, const OrigMeshData &orig_mesh_data) |
| static BitVector | calc_use_flat_layout (const Object &object, const OrigMeshData &orig_mesh_data) |
| static gpu::IndexBufPtr | create_tri_index_mesh (const OffsetIndices< int > faces, const Span< int3 > corner_tris, const Span< bool > hide_poly, const bke::pbvh::MeshNode &node) |
| static gpu::IndexBufPtr | create_tri_index_grids (const CCGKey &key, const BitGroupVector<> &grid_hidden, const bool do_coarse, const Span< int > grid_indices, const bool use_flat_layout) |
| static gpu::IndexBufPtr | create_lines_index_grids (const CCGKey &key, const BitGroupVector<> &grid_hidden, const bool do_coarse, const Span< int > grid_indices, const bool use_flat_layout) |
| static BLI_NOINLINE void | flush_vbo_data (const Span< gpu::VertBufPtr > vbos, const IndexMask &node_mask) |
| using blender::draw::pbvh::AttributeRequest = std::variant<CustomRequest, GenericRequest> |
Definition at line 48 of file DRW_pbvh.hh.
| using blender::draw::pbvh::GenericRequest = std::string |
Definition at line 39 of file DRW_pbvh.hh.
|
strong |
| Enumerator | |
|---|---|
| Position | |
| Normal | |
| Mask | |
| FaceSet | |
Definition at line 41 of file DRW_pbvh.hh.
|
static |
Definition at line 310 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::active_color, blender::draw::pbvh::OrigMeshData::active_uv_map, blender::bke::attr_type_to_custom_data_type(), CD_TYPE_AS_MASK(), blender::draw::pbvh::OrigMeshData::default_color, blender::draw::pbvh::OrigMeshData::default_uv_map, blender::draw::DRW_cdlayer_attr_aliases_add(), blender::bke::Float2, blender::draw::init_format_for_attribute(), and name.
Referenced by update_generic_attribute_bmesh(), and update_generic_attribute_mesh().
| const T & blender::draw::pbvh::bmesh_cd_face_get | ( | const BMFace & | face, |
| const int | offset ) |
Definition at line 404 of file draw_pbvh.cc.
References BMHeader::data, BMFace::head, POINTER_OFFSET, and T.
Referenced by extract_data_face_bmesh(), and update_face_sets_bmesh().
| const T & blender::draw::pbvh::bmesh_cd_loop_get | ( | const BMLoop & | loop, |
| const int | offset ) |
Definition at line 399 of file draw_pbvh.cc.
References BMHeader::data, BMLoop::head, POINTER_OFFSET, and T.
Referenced by extract_data_corner_bmesh().
| const T & blender::draw::pbvh::bmesh_cd_vert_get | ( | const BMVert & | vert, |
| const int | offset ) |
Definition at line 394 of file draw_pbvh.cc.
References BMHeader::data, BMVert::head, POINTER_OFFSET, and T.
Referenced by extract_data_vert_bmesh(), and update_masks_bmesh().
|
static |
Definition at line 1365 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::attributes, DRW_object_get_data_for_drawing(), blender::bke::Face, SubdivCCG::grid_to_face_map, blender::bke::pbvh::Grids, blender::bke::AttributeAccessor::lookup(), blender::bke::pbvh::Mesh, blender::threading::parallel_for(), blender::bke::object::pbvh_get(), and SculptSession::subdiv_ccg.
Referenced by blender::draw::pbvh::DrawCacheImpl::ensure_material_indices().
|
static |
Definition at line 1421 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::attributes, blender::bke::pbvh::BMesh, blender::bke::Face, SubdivCCG::grid_to_face_map, blender::bke::pbvh::Grids, blender::Span< T >::is_empty(), blender::bke::pbvh::Mesh, blender::threading::parallel_for(), and blender::bke::object::pbvh_get().
Definition at line 469 of file draw_pbvh.cc.
References faces.
Referenced by ensure_vbos_allocated_bmesh().
|
static |
Definition at line 1131 of file draw_pbvh.cc.
References BM_elem_flag_test, BM_ELEM_HIDDEN, data, faces, GPU_indexbuf_build_ex(), GPU_indexbuf_get_data(), GPU_indexbuf_init(), and GPU_PRIM_LINES.
|
static |
Definition at line 1095 of file draw_pbvh.cc.
References data, faces, GPU_indexbuf_build_ex(), GPU_indexbuf_get_data(), GPU_indexbuf_init(), GPU_PRIM_LINES, i, blender::Span< T >::is_empty(), and next.
|
static |
Definition at line 1551 of file draw_pbvh.cc.
References create_lines_index_grids(), create_lines_index_grids_flat_layout(), data, GPU_indexbuf_build_ex(), GPU_indexbuf_get_data(), GPU_indexbuf_init(), GPU_PRIM_LINES, CCGKey::grid_size, CCGKey::level, and blender::Span< T >::size().
|
static |
Definition at line 1251 of file draw_pbvh.cc.
References CCG_grid_xy_to_index(), data, i, blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::is_empty(), blender::bits::BitSpan::is_empty(), paint_is_grid_face_hidden(), v2, x, and y.
Referenced by create_lines_index_grids().
|
static |
Definition at line 1301 of file draw_pbvh.cc.
References data, i, blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::is_empty(), blender::bits::BitSpan::is_empty(), paint_is_grid_face_hidden(), square_uint(), v2, x, and y.
Referenced by create_lines_index_grids().
|
static |
Definition at line 1507 of file draw_pbvh.cc.
References blender::bke::pbvh::count_grid_quads(), create_tri_index_grids(), create_tri_index_grids_flat_layout(), data, GPU_indexbuf_build_in_place(), GPU_indexbuf_calloc(), GPU_indexbuf_get_data(), GPU_indexbuf_init(), GPU_PRIM_TRIS, CCGKey::grid_size, GPUIndexBufBuilder::index_len, GPUIndexBufBuilder::index_max, GPUIndexBufBuilder::index_min, CCGKey::level, result, blender::Span< T >::size(), and GPUIndexBufBuilder::uses_restart_indices.
|
static |
Definition at line 1160 of file draw_pbvh.cc.
References CCG_grid_xy_to_index(), data, i, blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::is_empty(), blender::bits::BitSpan::is_empty(), paint_is_grid_face_hidden(), v2, x, and y.
Referenced by create_tri_index_grids().
|
static |
Definition at line 1199 of file draw_pbvh.cc.
References data, i, blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::is_empty(), blender::bits::BitSpan::is_empty(), paint_is_grid_face_hidden(), square_uint(), v2, x, and y.
Referenced by create_tri_index_grids().
|
static |
Definition at line 1462 of file draw_pbvh.cc.
References blender::bke::pbvh::MeshNode::corners_num(), data, blender::bke::mesh::face_triangles_num(), blender::bke::mesh::face_triangles_range(), blender::bke::pbvh::MeshNode::faces(), faces, blender::IndexRange::first(), GPU_indexbuf_build_ex(), GPU_indexbuf_get_data(), GPU_indexbuf_init(), GPU_PRIM_TRIS, i, blender::Span< T >::is_empty(), poly_to_tri_count(), blender::IndexRange::size(), blender::Span< T >::size(), size(), and blender::Span< T >::slice().
| DrawCache & blender::draw::pbvh::ensure_draw_data | ( | std::unique_ptr< bke::pbvh::DrawCache > & | ptr | ) |
Definition at line 250 of file draw_pbvh.cc.
References ptr.
Referenced by blender::draw::sculpt_batches_get_ex().
|
static |
Definition at line 554 of file draw_pbvh.cc.
References BKE_pbvh_bmesh_node_faces(), BLI_NOINLINE, count_visible_tris_bmesh(), faces, blender::index_mask::IndexMask::foreach_index(), GPU_vertbuf_create_with_format(), GPU_vertbuf_data_alloc(), i, and blender::bke::object::pbvh_get().
Referenced by update_face_sets_bmesh(), update_generic_attribute_bmesh(), update_masks_bmesh(), update_normals_bmesh(), and update_positions_bmesh().
|
static |
Definition at line 534 of file draw_pbvh.cc.
References BLI_NOINLINE, blender::index_mask::IndexMask::foreach_index(), GPU_vertbuf_create_with_format(), GPU_vertbuf_data_alloc(), i, blender::bke::object::pbvh_get(), and square_i().
Referenced by fill_face_sets_grids(), fill_masks_grids(), fill_normals_grids(), and fill_positions_grids().
|
static |
Definition at line 519 of file draw_pbvh.cc.
References BLI_NOINLINE, blender::index_mask::IndexMask::foreach_index(), GPU_vertbuf_create_with_format(), GPU_vertbuf_data_alloc(), i, and blender::bke::object::pbvh_get().
Referenced by update_face_sets_mesh(), update_generic_attribute_mesh(), update_masks_mesh(), update_normals_mesh(), and update_positions_mesh().
| void blender::draw::pbvh::extract_data_corner_bmesh | ( | const Set< BMFace *, 0 > & | faces, |
| const int | cd_offset, | ||
| gpu::VertBuf & | vbo ) |
Definition at line 447 of file draw_pbvh.cc.
References BM_elem_flag_test, BM_ELEM_HIDDEN, bmesh_cd_loop_get(), blender::gpu::VertBuf::data(), data, faces, and l.
| void blender::draw::pbvh::extract_data_corner_mesh | ( | const OffsetIndices< int > | faces, |
| const Span< T > | attribute, | ||
| const Span< int > | face_indices, | ||
| gpu::VertBuf & | vbo ) |
Definition at line 377 of file draw_pbvh.cc.
References blender::gpu::VertBuf::data(), data, and faces.
| void blender::draw::pbvh::extract_data_face_bmesh | ( | const Set< BMFace *, 0 > & | faces, |
| const int | cd_offset, | ||
| gpu::VertBuf & | vbo ) |
Definition at line 431 of file draw_pbvh.cc.
References BM_elem_flag_test, BM_ELEM_HIDDEN, bmesh_cd_face_get(), blender::gpu::VertBuf::data(), data, and faces.
| void blender::draw::pbvh::extract_data_face_mesh | ( | const OffsetIndices< int > | faces, |
| const Span< T > | attribute, | ||
| const Span< int > | face_indices, | ||
| gpu::VertBuf & | vbo ) |
Definition at line 360 of file draw_pbvh.cc.
References blender::gpu::VertBuf::data(), data, and faces.
| void blender::draw::pbvh::extract_data_vert_bmesh | ( | const Set< BMFace *, 0 > & | faces, |
| const int | cd_offset, | ||
| gpu::VertBuf & | vbo ) |
Definition at line 410 of file draw_pbvh.cc.
References BM_elem_flag_test, BM_ELEM_HIDDEN, bmesh_cd_vert_get(), blender::gpu::VertBuf::data(), data, faces, and l.
| void blender::draw::pbvh::extract_data_vert_mesh | ( | const OffsetIndices< int > | faces, |
| const Span< int > | corner_verts, | ||
| const Span< T > | attribute, | ||
| const Span< int > | face_indices, | ||
| gpu::VertBuf & | vbo ) |
Definition at line 342 of file draw_pbvh.cc.
References blender::gpu::VertBuf::data(), data, faces, and blender::Span< T >::slice().
Referenced by update_positions_mesh().
|
static |
Definition at line 303 of file draw_pbvh.cc.
References GPU_vertformat_from_attribute().
Referenced by fill_face_sets_grids(), update_face_sets_bmesh(), and update_face_sets_mesh().
|
static |
Definition at line 886 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::attributes, BKE_paint_face_set_overlay_color_get(), BKE_subdiv_ccg_key_top_level(), BLI_NOINLINE, blender::MutableSpan< T >::data(), data, ensure_vbos_allocated_grids(), blender::bke::Face, blender::draw::pbvh::OrigMeshData::face_set_default, face_set_format(), blender::draw::pbvh::OrigMeshData::face_set_seed, blender::index_mask::IndexMask::foreach_index(), CCGKey::grid_size, i, blender::Span< T >::index_range(), blender::bke::AttributeAccessor::lookup(), blender::bke::object::pbvh_get(), and square_i().
|
static |
Definition at line 839 of file draw_pbvh.cc.
References BKE_subdiv_ccg_key_top_level(), BLI_NOINLINE, CCG_grid_xy_to_index(), blender::MutableSpan< T >::data(), blender::Span< T >::data(), data, ensure_vbos_allocated_grids(), blender::index_mask::IndexMask::foreach_index(), blender::bke::ccg::grid_range(), CCGKey::grid_size, i, blender::Span< T >::is_empty(), mask_format(), blender::bke::object::pbvh_get(), blender::Span< T >::size(), blender::Span< T >::slice(), x, and y.
|
static |
Definition at line 776 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::attributes, BKE_subdiv_ccg_key_top_level(), BLI_NOINLINE, CCG_grid_xy_to_index(), blender::MutableSpan< T >::data(), data, ensure_vbos_allocated_grids(), blender::bke::Face, blender::index_mask::IndexMask::foreach_index(), blender::bke::ccg::grid_range(), CCGKey::grid_size, i, blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), normal_float_to_short(), normal_format(), normal_quad_v3(), normals, blender::bke::object::pbvh_get(), blender::Span< T >::slice(), x, and y.
|
static |
Definition at line 735 of file draw_pbvh.cc.
References BKE_subdiv_ccg_key_top_level(), BLI_NOINLINE, CCG_grid_xy_to_index(), blender::MutableSpan< T >::data(), blender::Span< T >::data(), data, ensure_vbos_allocated_grids(), blender::index_mask::IndexMask::foreach_index(), blender::bke::ccg::grid_range(), CCGKey::grid_size, i, blender::bke::object::pbvh_get(), position_format(), blender::Span< T >::size(), blender::Span< T >::slice(), x, and y.
|
static |
Definition at line 1648 of file draw_pbvh.cc.
References BLI_NOINLINE, blender::index_mask::IndexMask::foreach_index(), GPU_vertbuf_use(), and i.
|
static |
Definition at line 274 of file draw_pbvh.cc.
References BLI_NOINLINE, blender::IndexMask::from_intersection(), GPU_BATCH_DISCARD_SAFE, i, blender::MutableSpan< T >::index_range(), and mask().
Referenced by blender::draw::pbvh::DrawCacheImpl::~DrawCacheImpl().
|
static |
Definition at line 258 of file draw_pbvh.cc.
References BLI_NOINLINE, blender::IndexMask::from_intersection(), i, blender::MutableSpan< T >::index_range(), and mask().
|
static |
Definition at line 266 of file draw_pbvh.cc.
References BLI_NOINLINE, blender::IndexMask::from_intersection(), i, blender::MutableSpan< T >::index_range(), and mask().
|
static |
Definition at line 296 of file draw_pbvh.cc.
References GPU_vertformat_from_attribute().
Referenced by fill_masks_grids(), update_masks_bmesh(), and update_masks_mesh().
Definition at line 334 of file draw_pbvh.cc.
References normal_float_to_short_v3(), and result.
Referenced by fill_normals_grids(), update_normals_bmesh(), and update_normals_mesh().
|
static |
Definition at line 289 of file draw_pbvh.cc.
References GPU_vertformat_from_attribute().
Referenced by fill_normals_grids(), update_normals_bmesh(), and update_normals_mesh().
|
static |
Definition at line 282 of file draw_pbvh.cc.
References GPU_vertformat_from_attribute().
Referenced by fill_positions_grids(), update_positions_bmesh(), and update_positions_mesh().
|
static |
Definition at line 1020 of file draw_pbvh.cc.
References BKE_paint_face_set_overlay_color_get(), BKE_pbvh_bmesh_node_faces(), BLI_NOINLINE, bm, BM_elem_flag_test, BM_ELEM_HIDDEN, bmesh_cd_face_get(), CD_PROP_INT32, CustomData_get_offset_named(), blender::MutableSpan< T >::data(), data, ensure_vbos_allocated_bmesh(), blender::draw::pbvh::OrigMeshData::face_set_default, face_set_format(), blender::draw::pbvh::OrigMeshData::face_set_seed, blender::index_mask::IndexMask::foreach_index(), i, and blender::bke::object::pbvh_get().
|
static |
Definition at line 652 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::attributes, BKE_paint_face_set_overlay_color_get(), BLI_NOINLINE, blender::MutableSpan< T >::data(), data, DRW_object_get_data_for_drawing(), ensure_vbos_allocated_mesh(), blender::bke::Face, blender::draw::pbvh::OrigMeshData::face_set_default, face_set_format(), blender::draw::pbvh::OrigMeshData::face_set_seed, faces, blender::index_mask::IndexMask::foreach_index(), i, blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), and blender::bke::object::pbvh_get().
|
static |
Definition at line 1057 of file draw_pbvh.cc.
References attribute_format(), BLI_NOINLINE, bm, BM_data_layer_lookup(), blender::bke::attribute_math::convert_to_static_type(), BMDataLayerLookup::domain, blender::bke::Edge, ensure_vbos_allocated_bmesh(), blender::index_mask::IndexMask::foreach_index(), i, name, blender::bke::object::pbvh_get(), and BMDataLayerLookup::type.
|
static |
Definition at line 693 of file draw_pbvh.cc.
References attribute_format(), blender::draw::pbvh::OrigMeshData::attributes, BLI_NOINLINE, blender::bke::attribute_math::convert_to_static_type(), blender::bke::cpp_type_to_attribute_type(), blender::bke::GAttributeReader::domain, DRW_object_get_data_for_drawing(), blender::bke::Edge, ensure_vbos_allocated_mesh(), faces, blender::index_mask::IndexMask::foreach_index(), i, blender::bke::AttributeAccessor::lookup(), name, blender::bke::object::pbvh_get(), blender::GVArrayCommon::type(), and blender::bke::GAttributeReader::varray.
|
static |
Definition at line 986 of file draw_pbvh.cc.
References BKE_pbvh_bmesh_node_faces(), BLI_NOINLINE, bm, BM_elem_flag_test, BM_ELEM_HIDDEN, bmesh_cd_vert_get(), CD_PROP_FLOAT, CustomData_get_offset_named(), blender::MutableSpan< T >::data(), data, ensure_vbos_allocated_bmesh(), blender::index_mask::IndexMask::foreach_index(), i, l, mask_format(), and blender::bke::object::pbvh_get().
|
static |
Definition at line 622 of file draw_pbvh.cc.
References blender::draw::pbvh::OrigMeshData::attributes, BLI_NOINLINE, blender::MutableSpan< T >::data(), data, DRW_object_get_data_for_drawing(), ensure_vbos_allocated_mesh(), faces, blender::index_mask::IndexMask::foreach_index(), i, blender::bke::AttributeAccessor::lookup(), mask(), mask_format(), blender::bke::object::pbvh_get(), blender::bke::Point, and blender::Span< T >::slice().
|
static |
Definition at line 954 of file draw_pbvh.cc.
References BKE_pbvh_bmesh_node_faces(), BLI_NOINLINE, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SMOOTH, blender::MutableSpan< T >::data(), data, ensure_vbos_allocated_bmesh(), blender::index_mask::IndexMask::foreach_index(), i, l, normal_float_to_short(), normal_format(), and blender::bke::object::pbvh_get().
|
static |
Definition at line 589 of file draw_pbvh.cc.
References blender::MutableSpan< T >::data(), data, DRW_object_get_data_for_drawing(), ensure_vbos_allocated_mesh(), blender::bke::Face, blender::bke::pbvh::face_normals_eval_from_eval(), faces, blender::index_mask::IndexMask::foreach_index(), i, blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), normal_float_to_short(), normal_format(), blender::bke::object::pbvh_get(), blender::Span< T >::slice(), and blender::bke::pbvh::vert_normals_eval_from_eval().
|
static |
Definition at line 928 of file draw_pbvh.cc.
References BKE_pbvh_bmesh_node_faces(), BLI_NOINLINE, BM_elem_flag_test, BM_ELEM_HIDDEN, blender::MutableSpan< T >::data(), data, ensure_vbos_allocated_bmesh(), blender::index_mask::IndexMask::foreach_index(), i, l, blender::bke::object::pbvh_get(), and position_format().
|
static |
Definition at line 572 of file draw_pbvh.cc.
References DRW_object_get_data_for_drawing(), ensure_vbos_allocated_mesh(), extract_data_vert_mesh(), faces, blender::index_mask::IndexMask::foreach_index(), i, blender::bke::object::pbvh_get(), position_format(), and blender::bke::pbvh::vert_positions_eval_from_eval().