Blender V4.3
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
 
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 50 of file eevee_world.hh.

Constructor & Destructor Documentation

◆ World()

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

Definition at line 78 of file eevee_world.hh.

◆ ~World()

World::~World ( )

Definition at line 60 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 83 of file eevee_world.hh.

Referenced by blender::eevee::VolumeModule::end_sync().

◆ has_volume_absorption()

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

◆ has_volume_scatter()

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

Definition at line 93 of file eevee_world.hh.

Referenced by blender::eevee::VolumeModule::end_sync().

◆ sun_angle()

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

Definition at line 100 of file eevee_world.hh.

References sun_angle().

Referenced by blender::eevee::LightModule::begin_sync(), and sun_angle().

◆ sun_shadow_filter_radius()

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

◆ sun_shadow_jitter_overblur()

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

◆ sun_shadow_max_resolution()

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

Definition at line 105 of file eevee_world.hh.

Referenced by blender::eevee::LightModule::begin_sync().

◆ sun_threshold()

◆ sync()

◆ use_sun_shadow()

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

Definition at line 120 of file eevee_world.hh.

References WO_USE_SUN_SHADOW.

Referenced by blender::eevee::LightModule::begin_sync().

◆ use_sun_shadow_jitter()

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

Definition at line 125 of file eevee_world.hh.

References WO_USE_SUN_SHADOW_JITTER.

Referenced by blender::eevee::LightModule::begin_sync().

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 55 of file eevee_world.hh.

Referenced by blender::eevee::SphereProbeModule::begin_sync().


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