Blender V4.3
blender::eevee::Surfel Struct Reference

#include <eevee_shader_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 _pad0
 
int _pad1
 
SurfelRadiance radiance_direct
 
SurfelRadiance radiance_indirect [2]
 

Detailed Description

Definition at line 1720 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad0

int blender::eevee::Surfel::_pad0

Definition at line 1741 of file eevee_shader_shared.hh.

◆ _pad1

int blender::eevee::Surfel::_pad1

Definition at line 1742 of file eevee_shader_shared.hh.

◆ albedo_back

packed_float3 blender::eevee::Surfel::albedo_back

Surface albedo to apply to incoming radiance.

Definition at line 1734 of file eevee_shader_shared.hh.

◆ albedo_front

packed_float3 blender::eevee::Surfel::albedo_front

Surface albedo to apply to incoming radiance.

Definition at line 1730 of file eevee_shader_shared.hh.

◆ cluster_id

int blender::eevee::Surfel::cluster_id

Cluster this surfel is assigned to.

Definition at line 1736 of file eevee_shader_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 1738 of file eevee_shader_shared.hh.

◆ next

int blender::eevee::Surfel::next

Next surfel index in the ray link-list.

Definition at line 1728 of file eevee_shader_shared.hh.

◆ normal

packed_float3 blender::eevee::Surfel::normal

World orientation of the surface.

Definition at line 1726 of file eevee_shader_shared.hh.

◆ position

packed_float3 blender::eevee::Surfel::position

World position of the surfel.

Definition at line 1722 of file eevee_shader_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 1724 of file eevee_shader_shared.hh.

◆ radiance_direct

SurfelRadiance blender::eevee::Surfel::radiance_direct

Surface radiance: Emission + Direct Lighting.

Definition at line 1744 of file eevee_shader_shared.hh.

◆ radiance_indirect

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

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

Definition at line 1746 of file eevee_shader_shared.hh.

◆ ray_distance

float blender::eevee::Surfel::ray_distance

Distance along the ray direction for sorting.

Definition at line 1732 of file eevee_shader_shared.hh.

◆ receiver_light_set

uint blender::eevee::Surfel::receiver_light_set

Surface receiver light set for light linking.

Definition at line 1740 of file eevee_shader_shared.hh.


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