Blender V4.3
DNA_world_types.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "DNA_ID.h"
12#include "DNA_defs.h"
13
14struct AnimData;
15struct Ipo;
17struct bNodeTree;
18
19#ifndef MAX_MTEX
20# define MAX_MTEX 18
21#endif
22
26typedef struct World {
28
29 ID id;
31 struct AnimData *adt;
37
38 char _pad0[4];
40
41 float horr, horg, horb;
42
47 float exposure, exp, range;
48
53 short mode;
54 char _pad2[6];
55
57
60
62 short flag;
63 char _pad3[2];
64
73 float sun_angle;
78 char _pad4[4];
79
81 struct Ipo *ipo DNA_DEPRECATED;
83 char _pad[4];
84
85 /* previews */
87
88 /* nodes */
90
93
94 void *_pad1;
95
98 /* The Depsgraph::update_count when this World was last updated. */
100
102
103/* **************** WORLD ********************* */
104
106enum {
107 WO_MIST = 1 << 0,
108 WO_MODE_UNUSED_1 = 1 << 1, /* cleared */
109 WO_MODE_UNUSED_2 = 1 << 2, /* cleared */
110 WO_MODE_UNUSED_3 = 1 << 3, /* cleared */
111 WO_MODE_UNUSED_4 = 1 << 4, /* cleared */
112 WO_MODE_UNUSED_5 = 1 << 5, /* cleared */
113 WO_MODE_UNUSED_6 = 1 << 6, /* cleared */
114 WO_MODE_UNUSED_7 = 1 << 7, /* cleared */
115};
116
118enum {
122};
123
125enum {
126 WO_DS_EXPAND = 1 << 0,
142};
143
ID and Library types, which are fundamental for SDNA.
enum eAnimEdit_AutoSnap DNA_DEPRECATED
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition DNA_defs.h:66
@ WO_MIST_QUADRATIC
@ WO_MIST_INVERSE_QUADRATIC
@ WO_MIST_LINEAR
@ WO_MIST
@ WO_MODE_UNUSED_6
@ WO_MODE_UNUSED_5
@ WO_MODE_UNUSED_7
@ WO_MODE_UNUSED_2
@ WO_MODE_UNUSED_1
@ WO_MODE_UNUSED_3
@ WO_MODE_UNUSED_4
@ WO_USE_SUN_SHADOW
@ WO_USE_EEVEE_FINITE_VOLUME
@ WO_DS_EXPAND
@ WO_DS_SHOW_TEXS
@ WO_USE_SUN_SHADOW_JITTER
eLightProbeResolution
@ LIGHT_PROBE_RESOLUTION_128
@ LIGHT_PROBE_RESOLUTION_512
@ LIGHT_PROBE_RESOLUTION_4096
@ LIGHT_PROBE_RESOLUTION_256
@ LIGHT_PROBE_RESOLUTION_2048
@ LIGHT_PROBE_RESOLUTION_1024
unsigned __int64 uint64_t
Definition stdint.h:90
Definition DNA_ID.h:413
char _pad2[6]
struct bNodeTree * nodetree
struct LightgroupMembership * lightgroup
struct PreviewImage * preview
uint64_t last_update
DrawDataList drawdata
float misi
char _pad0[4]
ListBase gpumaterial
char _pad[4]
float horg
float aodist
char _pad3[2]
struct AnimData * adt
float sun_angle
char _pad4[4]
float aoenergy
float miststa
float sun_shadow_maximum_resolution
short use_nodes
float exp
short pr_texture
short texact
float horb
short mistype
int probe_resolution
float mistdist
float sun_shadow_filter_radius
float sun_shadow_jitter_overblur
float sun_threshold
void * _pad1
short flag
float misthi
float horr