Blender V4.5
blender::eevee::World Class Reference

#include <eevee_world.hh>

Public Member Functions

 World (Instance &inst)
bool has_volume () const
bool has_volume_absorption () const
bool has_volume_scatter () const
bool is_ready () const
float sun_angle ()
float sun_shadow_max_resolution ()
float sun_shadow_filter_radius ()
float sun_shadow_jitter_overblur ()
bool use_sun_shadow ()
bool use_sun_shadow_jitter ()

Public Attributes

UniformBuffer< LightDatasunlight = {"sunlight"}

World

 ~World ()
void sync ()
float sun_threshold ()

Detailed Description

Definition at line 55 of file eevee_world.hh.

Constructor & Destructor Documentation

◆ World()

blender::eevee::World::World ( Instance & inst)
inline

Definition at line 85 of file eevee_world.hh.

Referenced by sync().

◆ ~World()

World::~World ( )

Definition at line 59 of file eevee_world.cc.

References BKE_id_free().

Member Function Documentation

◆ has_volume()

bool blender::eevee::World::has_volume ( ) const
inline

Definition at line 91 of file eevee_world.hh.

◆ has_volume_absorption()

bool blender::eevee::World::has_volume_absorption ( ) const
inline

Definition at line 96 of file eevee_world.hh.

◆ has_volume_scatter()

bool blender::eevee::World::has_volume_scatter ( ) const
inline

Definition at line 101 of file eevee_world.hh.

◆ is_ready()

bool blender::eevee::World::is_ready ( ) const
inline

Definition at line 106 of file eevee_world.hh.

◆ sun_angle()

Definition at line 113 of file eevee_world.hh.

◆ sun_shadow_filter_radius()

Definition at line 123 of file eevee_world.hh.

◆ sun_shadow_jitter_overblur()

Definition at line 128 of file eevee_world.hh.

◆ sun_shadow_max_resolution()

float blender::eevee::World::sun_shadow_max_resolution ( )
inline

Definition at line 118 of file eevee_world.hh.

◆ sun_threshold()

Definition at line 83 of file eevee_world.cc.

References sun_threshold().

Referenced by sun_threshold().

◆ sync()

◆ use_sun_shadow()

bool blender::eevee::World::use_sun_shadow ( )
inline

Definition at line 133 of file eevee_world.hh.

References WO_USE_SUN_SHADOW.

◆ use_sun_shadow_jitter()

bool blender::eevee::World::use_sun_shadow_jitter ( )
inline

Definition at line 138 of file eevee_world.hh.

References WO_USE_SUN_SHADOW_JITTER.

Member Data Documentation

◆ sunlight

UniformBuffer<LightData> blender::eevee::World::sunlight = {"sunlight"}

Buffer containing the sun light for the world. Filled by LightProbeModule and read by LightModule.

Definition at line 60 of file eevee_world.hh.


The documentation for this class was generated from the following files: