Blender V5.3
eevee::volume::LightEvalCtx Struct Reference

#include <eevee_volume.bsl.hh>

Public Member Functions

float3 light_eval_single (Scatter &srt, LightData light, const bool is_directional)
void eval_directional (Scatter &srd, uint, LightData light)
void eval_local (Scatter &srd, uint, LightData light)

Public Attributes

float3 radiance
float3 P
float3 V
float anisotropy

Detailed Description

Definition at line 142 of file eevee_volume.bsl.hh.

Member Function Documentation

◆ eval_directional()

void eevee::volume::LightEvalCtx::eval_directional ( Scatter & srd,
uint ,
LightData light )
inline

Definition at line 189 of file eevee_volume.bsl.hh.

References light_eval_single(), and radiance.

◆ eval_local()

void eevee::volume::LightEvalCtx::eval_local ( Scatter & srd,
uint ,
LightData light )
inline

Definition at line 194 of file eevee_volume.bsl.hh.

References light_eval_single(), and radiance.

◆ light_eval_single()

Member Data Documentation

◆ anisotropy

float eevee::volume::LightEvalCtx::anisotropy

Definition at line 146 of file eevee_volume.bsl.hh.

Referenced by light_eval_single().

◆ P

float3 eevee::volume::LightEvalCtx::P

Definition at line 144 of file eevee_volume.bsl.hh.

Referenced by light_eval_single().

◆ radiance

float3 eevee::volume::LightEvalCtx::radiance

Definition at line 143 of file eevee_volume.bsl.hh.

Referenced by eval_directional(), eval_local(), and eevee::volume::scatter_main().

◆ V

float3 eevee::volume::LightEvalCtx::V

Definition at line 145 of file eevee_volume.bsl.hh.

Referenced by light_eval_single().


The documentation for this struct was generated from the following file: