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.

◆ ~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

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

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

◆ is_ready()

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

Definition at line 106 of file eevee_world.hh.

◆ sun_angle()

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

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

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

◆ sun_threshold()

◆ sync()

void World::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.

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

◆ 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.

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

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


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