Blender V4.5
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
8
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 {
27#ifdef __cplusplus
30 static constexpr ID_Type id_type = ID_WO;
31#endif
32
35 struct AnimData *adt;
36
37 char _pad0[4];
39
40 float horr, horg, horb;
41
47
52 short mode;
53 char _pad2[6];
54
56
59
61 short flag;
62 char _pad3[2];
63
72 float sun_angle;
77 char _pad4[4];
78
80 struct Ipo *ipo DNA_DEPRECATED;
82 char _pad[4];
83
84 /* previews */
86
87 /* nodes */
89
92
93 void *_pad1;
94
97 /* The Depsgraph::update_count when this World was last updated. */
99
101
102/* **************** WORLD ********************* */
103
105enum {
106 WO_MIST = 1 << 0,
107 WO_MODE_UNUSED_1 = 1 << 1, /* cleared */
108 WO_MODE_UNUSED_2 = 1 << 2, /* cleared */
109 WO_MODE_UNUSED_3 = 1 << 3, /* cleared */
110 WO_MODE_UNUSED_4 = 1 << 4, /* cleared */
111 WO_MODE_UNUSED_5 = 1 << 5, /* cleared */
112 WO_MODE_UNUSED_6 = 1 << 6, /* cleared */
113 WO_MODE_UNUSED_7 = 1 << 7, /* cleared */
114};
115
117enum {
121};
122
124enum {
125 WO_DS_EXPAND = 1 << 0,
141};
142
ID and Library types, which are fundamental for SDNA.
ID_Type
@ ID_WO
@ WO_USE_SUN_SHADOW
@ WO_USE_EEVEE_FINITE_VOLUME
@ WO_DS_EXPAND
@ WO_DS_SHOW_TEXS
@ WO_USE_SUN_SHADOW_JITTER
@ 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_MIST_QUADRATIC
@ WO_MIST_INVERSE_QUADRATIC
@ WO_MIST_LINEAR
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 long long int uint64_t
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition DNA_ID.h:404
char _pad2[6]
struct bNodeTree * nodetree
struct LightgroupMembership * lightgroup
struct PreviewImage * preview
uint64_t last_update
float misi
char _pad0[4]
ListBase gpumaterial
char _pad[4]
float horg
float aodist
float exposure
char _pad3[2]
struct AnimData * adt
float range
float sun_angle
char _pad4[4]
float aoenergy
float miststa
float sun_shadow_maximum_resolution
short use_nodes
short mode
float exp
struct Ipo *ipo DNA_DEPRECATED
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