27 lines
459 B
C
27 lines
459 B
C
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#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
|