Blender V4.3
BKE_pbvh.hh File Reference
#include "BLI_utildefines.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::pbvh
 

Enumerations

enum class  blender::bke::pbvh::Type { blender::bke::pbvh::Mesh , blender::bke::pbvh::Grids , blender::bke::pbvh::BMesh }
 
enum  PBVHNodeFlags {
  PBVH_Leaf = 1 << 0 , PBVH_UpdateRedraw = 1 << 5 , PBVH_FullyHidden = 1 << 10 , PBVH_FullyMasked = 1 << 11 ,
  PBVH_FullyUnmasked = 1 << 12 , PBVH_UpdateTopology = 1 << 13 , PBVH_RebuildPixels = 1 << 15 , PBVH_TexLeaf = 1 << 16 ,
  PBVH_TopologyUpdated = 1 << 17
}
 

Functions

 ENUM_OPERATORS (PBVHNodeFlags, PBVH_TopologyUpdated)
 
void BKE_pbvh_draw_debug_cb (blender::bke::pbvh::Tree &pbvh, void(*draw_fn)(blender::bke::pbvh::Node *node, void *user_data, const float bmin[3], const float bmax[3], PBVHNodeFlags flag), void *user_data)
 

Enumeration Type Documentation

◆ PBVHNodeFlags

Enumerator
PBVH_Leaf 
PBVH_UpdateRedraw 
PBVH_FullyHidden 
PBVH_FullyMasked 
PBVH_FullyUnmasked 
PBVH_UpdateTopology 
PBVH_RebuildPixels 
PBVH_TexLeaf 
PBVH_TopologyUpdated 

Used internally by pbvh_bmesh.cc.

Definition at line 29 of file BKE_pbvh.hh.

Function Documentation

◆ BKE_pbvh_draw_debug_cb()

void BKE_pbvh_draw_debug_cb ( blender::bke::pbvh::Tree & pbvh,
void(* draw_fn )(blender::bke::pbvh::Node *node, void *user_data, const float bmin[3], const float bmax[3], PBVHNodeFlags flag),
void * user_data )

◆ ENUM_OPERATORS()

ENUM_OPERATORS ( PBVHNodeFlags ,
PBVH_TopologyUpdated  )