Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| /* SPDX-License-Identifier: GPL-2.0-or-later | /* SPDX-License-Identifier: GPL-2.0-or-later | ||||
| * Copyright 2001-2002 NaN Holding BV. All rights reserved. */ | * Copyright 2001-2002 NaN Holding BV. All rights reserved. */ | ||||
| /** \file | /** \file | ||||
| * \ingroup DNA | * \ingroup DNA | ||||
| * \brief Object is a sort of wrapper for general info. | * \brief Object is a sort of wrapper for general info. | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "BLI_utildefines.h" | |||||
| #include "DNA_object_enums.h" | #include "DNA_object_enums.h" | ||||
| #include "DNA_customdata_types.h" | #include "DNA_customdata_types.h" | ||||
| #include "DNA_defs.h" | #include "DNA_defs.h" | ||||
| #include "DNA_lineart_types.h" | #include "DNA_lineart_types.h" | ||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_ID.h" | #include "DNA_ID.h" | ||||
| ▲ Show 20 Lines • Show All 209 Lines • ▼ Show 20 Lines | enum eObjectLineArt_Usage { | ||||
| OBJECT_LRT_INHERIT = 0, | OBJECT_LRT_INHERIT = 0, | ||||
| OBJECT_LRT_INCLUDE = (1 << 0), | OBJECT_LRT_INCLUDE = (1 << 0), | ||||
| OBJECT_LRT_OCCLUSION_ONLY = (1 << 1), | OBJECT_LRT_OCCLUSION_ONLY = (1 << 1), | ||||
| OBJECT_LRT_EXCLUDE = (1 << 2), | OBJECT_LRT_EXCLUDE = (1 << 2), | ||||
| OBJECT_LRT_INTERSECTION_ONLY = (1 << 3), | OBJECT_LRT_INTERSECTION_ONLY = (1 << 3), | ||||
| OBJECT_LRT_NO_INTERSECTION = (1 << 4), | OBJECT_LRT_NO_INTERSECTION = (1 << 4), | ||||
| OBJECT_LRT_FORCE_INTERSECTION = (1 << 5), | OBJECT_LRT_FORCE_INTERSECTION = (1 << 5), | ||||
| }; | }; | ||||
| ENUM_OPERATORS(eObjectLineArt_Usage, OBJECT_LRT_FORCE_INTERSECTION); | |||||
| enum eObjectLineArt_Flags { | enum eObjectLineArt_Flags { | ||||
| OBJECT_LRT_OWN_CREASE = (1 << 0), | OBJECT_LRT_OWN_CREASE = (1 << 0), | ||||
| OBJECT_LRT_OWN_INTERSECTION_PRIORITY = (1 << 1), | OBJECT_LRT_OWN_INTERSECTION_PRIORITY = (1 << 1), | ||||
| }; | }; | ||||
| typedef struct Object { | typedef struct Object { | ||||
| DNA_DEFINE_CXX_METHODS(Object) | DNA_DEFINE_CXX_METHODS(Object) | ||||
| ▲ Show 20 Lines • Show All 560 Lines • Show Last 20 Lines | |||||