Blender V5.0
blender::eevee::Surfel Struct Reference

#include <eevee_lightprobe_shared.hh>

Public Attributes

packed_float3 position
int prev
packed_float3 normal
int next
packed_float3 albedo_front
float ray_distance
packed_float3 albedo_back
int cluster_id
bool32_t double_sided
uint receiver_light_set
int list_id
int index_in_sorted_list
SurfelRadiance radiance_direct
SurfelRadiance radiance_indirect [2]

Detailed Description

Definition at line 197 of file eevee_lightprobe_shared.hh.

Member Data Documentation

◆ albedo_back

packed_float3 blender::eevee::Surfel::albedo_back

Surface albedo to apply to incoming radiance.

Definition at line 211 of file eevee_lightprobe_shared.hh.

◆ albedo_front

packed_float3 blender::eevee::Surfel::albedo_front

Surface albedo to apply to incoming radiance.

Definition at line 207 of file eevee_lightprobe_shared.hh.

◆ cluster_id

int blender::eevee::Surfel::cluster_id

Cluster this surfel is assigned to.

Definition at line 213 of file eevee_lightprobe_shared.hh.

◆ double_sided

bool32_t blender::eevee::Surfel::double_sided

True if the light can bounce or be emitted by the surfel back face.

Definition at line 215 of file eevee_lightprobe_shared.hh.

◆ index_in_sorted_list

int blender::eevee::Surfel::index_in_sorted_list

Index of this surfel inside the sorted list. Allow access to previous and next surfel id.

Definition at line 221 of file eevee_lightprobe_shared.hh.

◆ list_id

int blender::eevee::Surfel::list_id

List index this surfel is in.

Definition at line 219 of file eevee_lightprobe_shared.hh.

◆ next

int blender::eevee::Surfel::next

Next surfel index in the ray link-list.

Definition at line 205 of file eevee_lightprobe_shared.hh.

◆ normal

packed_float3 blender::eevee::Surfel::normal

World orientation of the surface.

Definition at line 203 of file eevee_lightprobe_shared.hh.

Referenced by blender::draw::test_eevee_surfel_list().

◆ position

packed_float3 blender::eevee::Surfel::position

World position of the surfel.

Definition at line 199 of file eevee_lightprobe_shared.hh.

Referenced by blender::draw::test_eevee_surfel_list().

◆ prev

int blender::eevee::Surfel::prev

Previous surfel index in the ray link-list. Only valid after sorting.

Definition at line 201 of file eevee_lightprobe_shared.hh.

◆ radiance_direct

SurfelRadiance blender::eevee::Surfel::radiance_direct

Surface radiance: Emission + Direct Lighting.

Definition at line 223 of file eevee_lightprobe_shared.hh.

◆ radiance_indirect

SurfelRadiance blender::eevee::Surfel::radiance_indirect[2]

Surface radiance: Indirect Lighting. Double buffered to avoid race conditions.

Definition at line 225 of file eevee_lightprobe_shared.hh.

◆ ray_distance

float blender::eevee::Surfel::ray_distance

Distance along the ray direction for sorting.

Definition at line 209 of file eevee_lightprobe_shared.hh.

◆ receiver_light_set

uint blender::eevee::Surfel::receiver_light_set

Surface receiver light set for light linking.

Definition at line 217 of file eevee_lightprobe_shared.hh.


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