|
Blender V4.3
|
#include <DRW_pbvh.hh>
Inherits blender::bke::pbvh::DrawCache.
Inherited by blender::draw::pbvh::DrawCacheImpl.
Public Member Functions | |
| virtual | ~DrawCache ()=default |
| virtual Span< gpu::Batch * > | ensure_tris_batches (const Object &object, const ViewportRequest &request, const IndexMask &nodes_to_update)=0 |
| virtual Span< gpu::Batch * > | ensure_lines_batches (const Object &object, const ViewportRequest &request, const IndexMask &nodes_to_update)=0 |
| virtual Span< int > | ensure_material_indices (const Object &object)=0 |
Public Member Functions inherited from blender::bke::pbvh::DrawCache | |
| virtual void | tag_positions_changed (const IndexMask &node_mask)=0 |
| virtual void | tag_visibility_changed (const IndexMask &node_mask)=0 |
| virtual void | tag_topology_changed (const IndexMask &node_mask)=0 |
| virtual void | tag_face_sets_changed (const IndexMask &node_mask)=0 |
| virtual void | tag_masks_changed (const IndexMask &node_mask)=0 |
| virtual void | tag_attribute_changed (const IndexMask &node_mask, StringRef attribute_name)=0 |
Definition at line 67 of file DRW_pbvh.hh.
|
virtualdefault |
Reimplemented from blender::bke::pbvh::DrawCache.
|
pure virtual |
Recalculate and copy data as necessary to prepare batches for drawing wireframe geometry for a specific combination of attributes.
Implemented in blender::draw::pbvh::DrawCacheImpl.
Referenced by drw_sculpt_generate_calls(), and blender::draw::sculpt_batches_get_ex().
|
pure virtual |
Return the material index for each node (all faces in a node should have the same material index, as ensured by the BVH building process).
Implemented in blender::draw::pbvh::DrawCacheImpl.
Referenced by drw_sculpt_generate_calls(), and blender::draw::sculpt_batches_get_ex().
|
pure virtual |
Recalculate and copy data as necessary to prepare batches for drawing triangles for a specific combination of attributes.
Implemented in blender::draw::pbvh::DrawCacheImpl.
Referenced by drw_sculpt_generate_calls(), and blender::draw::sculpt_batches_get_ex().