2022-10-03 03:04:41 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
|
2022-09-28 23:51:23 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "DNA_customdata_types.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct PBVHBatches;
|
|
|
|
|
|
|
|
enum {
|
|
|
|
CD_PBVH_CO_TYPE = CD_NUMTYPES,
|
|
|
|
CD_PBVH_NO_TYPE = CD_NUMTYPES + 1,
|
|
|
|
CD_PBVH_FSET_TYPE = CD_NUMTYPES + 2,
|
|
|
|
CD_PBVH_MASK_TYPE = CD_NUMTYPES + 3
|
|
|
|
};
|
|
|
|
|
|
|
|
int drw_pbvh_material_index_get(struct PBVHBatches *batches);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|