Blender V5.0
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 34 of file eevee_world.hh.

Constructor & Destructor Documentation

◆ World()

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

Definition at line 63 of file eevee_world.hh.

Referenced by sync().

◆ ~World()

World::~World ( )

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

◆ has_volume_absorption()

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

Definition at line 74 of file eevee_world.hh.

◆ has_volume_scatter()

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

Definition at line 79 of file eevee_world.hh.

◆ is_ready()

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

Definition at line 84 of file eevee_world.hh.

◆ sun_angle()

Definition at line 91 of file eevee_world.hh.

◆ sun_shadow_filter_radius()

◆ sun_shadow_jitter_overblur()

◆ sun_shadow_max_resolution()

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

Definition at line 96 of file eevee_world.hh.

◆ sun_threshold()

Definition at line 48 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 111 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 116 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 40 of file eevee_world.hh.


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