Blender V5.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
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

UniformArrayBuffer< LightData, 2 > sunlight = {"sunlight"}

World

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

Detailed Description

Definition at line 33 of file eevee_world.hh.

Constructor & Destructor Documentation

◆ World()

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

Definition at line 62 of file eevee_world.hh.

◆ ~World()

blender::eevee::World::~World ( )

Definition at line 24 of file eevee_world.cc.

References blender::BKE_id_free().

Member Function Documentation

◆ has_volume()

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

Definition at line 68 of file eevee_world.hh.

◆ has_volume_absorption()

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

Definition at line 73 of file eevee_world.hh.

◆ has_volume_scatter()

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

Definition at line 78 of file eevee_world.hh.

◆ is_ready()

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

Definition at line 83 of file eevee_world.hh.

◆ sun_angle()

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

Definition at line 90 of file eevee_world.hh.

Referenced by blender::blo_do_versions_402().

◆ sun_shadow_filter_radius()

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

Definition at line 100 of file eevee_world.hh.

Referenced by blender::blo_do_versions_402().

◆ sun_shadow_jitter_overblur()

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

Definition at line 105 of file eevee_world.hh.

◆ sun_shadow_max_resolution()

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

Definition at line 95 of file eevee_world.hh.

◆ sun_threshold()

float blender::eevee::World::sun_threshold ( )

Definition at line 46 of file eevee_world.cc.

References sun_threshold().

Referenced by blender::blo_do_versions_402(), and sun_threshold().

◆ sync()

◆ use_sun_shadow()

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

Definition at line 110 of file eevee_world.hh.

References blender::WO_USE_SUN_SHADOW.

◆ use_sun_shadow_jitter()

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

Definition at line 115 of file eevee_world.hh.

References blender::WO_USE_SUN_SHADOW_JITTER.

Member Data Documentation

◆ sunlight

UniformArrayBuffer<LightData, 2> blender::eevee::World::sunlight = {"sunlight"}

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

Definition at line 39 of file eevee_world.hh.


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