Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_pbvh.h
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
| PBVH *BKE_pbvh_new(void); | PBVH *BKE_pbvh_new(void); | ||||
| void BKE_pbvh_build_mesh(PBVH *bvh, | void BKE_pbvh_build_mesh(PBVH *bvh, | ||||
| const struct MPoly *mpoly, | const struct MPoly *mpoly, | ||||
| const struct MLoop *mloop, | const struct MLoop *mloop, | ||||
| struct MVert *verts, | struct MVert *verts, | ||||
| int totvert, | int totvert, | ||||
| struct CustomData *vdata, | struct CustomData *vdata, | ||||
| struct CustomData *ldata, | |||||
| const struct MLoopTri *looptri, | const struct MLoopTri *looptri, | ||||
| int looptri_num); | int looptri_num); | ||||
| void BKE_pbvh_build_grids(PBVH *bvh, | void BKE_pbvh_build_grids(PBVH *bvh, | ||||
| struct CCGElem **grid_elems, | struct CCGElem **grid_elems, | ||||
| int totgrid, | int totgrid, | ||||
| struct CCGKey *key, | struct CCGKey *key, | ||||
| void **gridfaces, | void **gridfaces, | ||||
| struct DMFlagMat *flagmats, | struct DMFlagMat *flagmats, | ||||
| ▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
| /* Drawing */ | /* Drawing */ | ||||
| void BKE_pbvh_draw_cb(PBVH *bvh, | void BKE_pbvh_draw_cb(PBVH *bvh, | ||||
| float (*planes)[4], | float (*planes)[4], | ||||
| float (*fnors)[3], | float (*fnors)[3], | ||||
| bool fast, | bool fast, | ||||
| bool wires, | bool wires, | ||||
| bool only_mask, | bool only_mask, | ||||
| bool show_vcol, | |||||
| void (*draw_fn)(void *user_data, struct GPUBatch *batch), | void (*draw_fn)(void *user_data, struct GPUBatch *batch), | ||||
| void *user_data); | void *user_data); | ||||
| /* PBVH Access */ | /* PBVH Access */ | ||||
| typedef enum { | typedef enum { | ||||
| PBVH_FACES, | PBVH_FACES, | ||||
| PBVH_GRIDS, | PBVH_GRIDS, | ||||
| PBVH_BMESH, | PBVH_BMESH, | ||||
| ▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines | |||||