Blender V4.3
DNA_world_types.h File Reference
#include "DNA_ID.h"
#include "DNA_defs.h"

Go to the source code of this file.

Classes

struct  World
 

Macros

#define MAX_MTEX   18
 

Typedefs

typedef struct World World
 
typedef enum eLightProbeResolution eLightProbeResolution
 

Enumerations

enum  {
  WO_MIST = 1 << 0 , WO_MODE_UNUSED_1 = 1 << 1 , WO_MODE_UNUSED_2 = 1 << 2 , WO_MODE_UNUSED_3 = 1 << 3 ,
  WO_MODE_UNUSED_4 = 1 << 4 , WO_MODE_UNUSED_5 = 1 << 5 , WO_MODE_UNUSED_6 = 1 << 6 , WO_MODE_UNUSED_7 = 1 << 7
}
 
enum  { WO_MIST_QUADRATIC = 0 , WO_MIST_LINEAR = 1 , WO_MIST_INVERSE_QUADRATIC = 2 }
 
enum  {
  WO_DS_EXPAND = 1 << 0 , WO_DS_SHOW_TEXS = 1 << 2 , WO_USE_EEVEE_FINITE_VOLUME = 1 << 3 , WO_USE_SUN_SHADOW = 1 << 4 ,
  WO_USE_SUN_SHADOW_JITTER = 1 << 5
}
 
enum  eLightProbeResolution {
  LIGHT_PROBE_RESOLUTION_128 = 7 , LIGHT_PROBE_RESOLUTION_256 = 8 , LIGHT_PROBE_RESOLUTION_512 = 9 , LIGHT_PROBE_RESOLUTION_1024 = 10 ,
  LIGHT_PROBE_RESOLUTION_2048 = 11 , LIGHT_PROBE_RESOLUTION_4096 = 12
}
 

Macro Definition Documentation

◆ MAX_MTEX

#define MAX_MTEX   18

Definition at line 20 of file DNA_world_types.h.

Typedef Documentation

◆ eLightProbeResolution

◆ World

typedef struct World World

World defines general modeling data such as a background fill, gravity, color model etc. It mixes rendering data and modeling data.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

World::mode

Enumerator
WO_MIST 
WO_MODE_UNUSED_1 
WO_MODE_UNUSED_2 
WO_MODE_UNUSED_3 
WO_MODE_UNUSED_4 
WO_MODE_UNUSED_5 
WO_MODE_UNUSED_6 
WO_MODE_UNUSED_7 

Definition at line 106 of file DNA_world_types.h.

◆ anonymous enum

anonymous enum

World::mistype

Enumerator
WO_MIST_QUADRATIC 
WO_MIST_LINEAR 
WO_MIST_INVERSE_QUADRATIC 

Definition at line 118 of file DNA_world_types.h.

◆ anonymous enum

anonymous enum

World::flag

Enumerator
WO_DS_EXPAND 
WO_DS_SHOW_TEXS 

NOTE: this must have the same value as MA_DS_SHOW_TEXS, otherwise anim-editors will not read correctly.

WO_USE_EEVEE_FINITE_VOLUME 

World uses volume that is created in old version of EEVEE (<4.2). These volumes should be converted manually. (Ref: #119734).

WO_USE_SUN_SHADOW 

Use shadowing from the extracted sun light.

WO_USE_SUN_SHADOW_JITTER 

Definition at line 125 of file DNA_world_types.h.

◆ eLightProbeResolution

World::probe_resolution.

Enumerator
LIGHT_PROBE_RESOLUTION_128 
LIGHT_PROBE_RESOLUTION_256 
LIGHT_PROBE_RESOLUTION_512 
LIGHT_PROBE_RESOLUTION_1024 
LIGHT_PROBE_RESOLUTION_2048 
LIGHT_PROBE_RESOLUTION_4096 

Definition at line 145 of file DNA_world_types.h.