Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_view3d_types.h
| Show First 20 Lines • Show All 290 Lines • ▼ Show 20 Lines | typedef struct View3D { | ||||
| /** Optional string for armature bone to define center, MAXBONENAME. */ | /** Optional string for armature bone to define center, MAXBONENAME. */ | ||||
| char ob_center_bone[64]; | char ob_center_bone[64]; | ||||
| unsigned short local_view_uuid; | unsigned short local_view_uuid; | ||||
| char _pad6[2]; | char _pad6[2]; | ||||
| int layact DNA_DEPRECATED; | int layact DNA_DEPRECATED; | ||||
| unsigned short local_collections_uuid; | unsigned short local_collections_uuid; | ||||
| short _pad7[3]; | short _pad7[2]; | ||||
| short debug_flag; | |||||
| /** Optional bool for 3d cursor to define center. */ | /** Optional bool for 3d cursor to define center. */ | ||||
| short ob_center_cursor; | short ob_center_cursor; | ||||
| short scenelock; | short scenelock; | ||||
| short gp_flag; | short gp_flag; | ||||
| short flag; | short flag; | ||||
| int flag2; | int flag2; | ||||
| ▲ Show 20 Lines • Show All 176 Lines • ▼ Show 20 Lines | enum { | ||||
| V3D_SHADING_BACKFACE_CULLING = (1 << 10), | V3D_SHADING_BACKFACE_CULLING = (1 << 10), | ||||
| V3D_SHADING_DEPTH_OF_FIELD = (1 << 11), | V3D_SHADING_DEPTH_OF_FIELD = (1 << 11), | ||||
| V3D_SHADING_SCENE_LIGHTS_RENDER = (1 << 12), | V3D_SHADING_SCENE_LIGHTS_RENDER = (1 << 12), | ||||
| V3D_SHADING_SCENE_WORLD_RENDER = (1 << 13), | V3D_SHADING_SCENE_WORLD_RENDER = (1 << 13), | ||||
| V3D_SHADING_STUDIOLIGHT_VIEW_ROTATION = (1 << 14), | V3D_SHADING_STUDIOLIGHT_VIEW_ROTATION = (1 << 14), | ||||
| V3D_SHADING_COMPOSITOR = (1 << 15), | V3D_SHADING_COMPOSITOR = (1 << 15), | ||||
| }; | }; | ||||
| /** #View3D.debug_flag */ | |||||
| enum { | |||||
| V3D_DEBUG_FREEZE_CULLING = (1 << 0), | |||||
| }; | |||||
| #define V3D_USES_SCENE_LIGHTS(v3d) \ | #define V3D_USES_SCENE_LIGHTS(v3d) \ | ||||
| ((((v3d)->shading.type == OB_MATERIAL) && ((v3d)->shading.flag & V3D_SHADING_SCENE_LIGHTS)) || \ | ((((v3d)->shading.type == OB_MATERIAL) && ((v3d)->shading.flag & V3D_SHADING_SCENE_LIGHTS)) || \ | ||||
| (((v3d)->shading.type == OB_RENDER) && \ | (((v3d)->shading.type == OB_RENDER) && \ | ||||
| ((v3d)->shading.flag & V3D_SHADING_SCENE_LIGHTS_RENDER))) | ((v3d)->shading.flag & V3D_SHADING_SCENE_LIGHTS_RENDER))) | ||||
| #define V3D_USES_SCENE_WORLD(v3d) \ | #define V3D_USES_SCENE_WORLD(v3d) \ | ||||
| ((((v3d)->shading.type == OB_MATERIAL) && ((v3d)->shading.flag & V3D_SHADING_SCENE_WORLD)) || \ | ((((v3d)->shading.type == OB_MATERIAL) && ((v3d)->shading.flag & V3D_SHADING_SCENE_WORLD)) || \ | ||||
| (((v3d)->shading.type == OB_RENDER) && \ | (((v3d)->shading.type == OB_RENDER) && \ | ||||
| ▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines | |||||