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

#include <eevee_lightprobe_shared.hh>

Inherited by blender::draw::StorageBuffer< CaptureInfoData >.

Public Attributes

packed_int3 irradiance_grid_size
bool32_t do_surfel_output
bool32_t do_surfel_count
uint surfel_len
float sample_count
float sample_index
float4x4 irradiance_grid_local_to_world
float4x4 irradiance_grid_world_to_local
float4x4 irradiance_grid_world_to_local_rotation
int scene_bound_x_min
int scene_bound_y_min
int scene_bound_z_min
int scene_bound_x_max
int scene_bound_y_max
int scene_bound_z_max
float clamp_direct
float clamp_indirect
float _pad1
float _pad2
float min_distance_to_surface
float max_virtual_offset
float surfel_radius
bool32_t capture_world_direct
bool32_t capture_world_indirect
bool32_t capture_visibility_direct
bool32_t capture_visibility_indirect
bool32_t capture_indirect
bool32_t capture_emission
int _pad0
SphereProbeUvArea world_atlas_coord

Detailed Description

Definition at line 229 of file eevee_lightprobe_shared.hh.

Member Data Documentation

◆ _pad0

int blender::eevee::CaptureInfoData::_pad0

Definition at line 274 of file eevee_lightprobe_shared.hh.

◆ _pad1

float blender::eevee::CaptureInfoData::_pad1

Definition at line 259 of file eevee_lightprobe_shared.hh.

◆ _pad2

float blender::eevee::CaptureInfoData::_pad2

Definition at line 260 of file eevee_lightprobe_shared.hh.

◆ capture_emission

bool32_t blender::eevee::CaptureInfoData::capture_emission

Definition at line 273 of file eevee_lightprobe_shared.hh.

◆ capture_indirect

bool32_t blender::eevee::CaptureInfoData::capture_indirect

Definition at line 272 of file eevee_lightprobe_shared.hh.

◆ capture_visibility_direct

bool32_t blender::eevee::CaptureInfoData::capture_visibility_direct

Definition at line 270 of file eevee_lightprobe_shared.hh.

◆ capture_visibility_indirect

bool32_t blender::eevee::CaptureInfoData::capture_visibility_indirect

Definition at line 271 of file eevee_lightprobe_shared.hh.

◆ capture_world_direct

bool32_t blender::eevee::CaptureInfoData::capture_world_direct

Capture options.

Definition at line 268 of file eevee_lightprobe_shared.hh.

◆ capture_world_indirect

bool32_t blender::eevee::CaptureInfoData::capture_world_indirect

Definition at line 269 of file eevee_lightprobe_shared.hh.

◆ clamp_direct

float blender::eevee::CaptureInfoData::clamp_direct

Definition at line 257 of file eevee_lightprobe_shared.hh.

◆ clamp_indirect

float blender::eevee::CaptureInfoData::clamp_indirect

Definition at line 258 of file eevee_lightprobe_shared.hh.

◆ do_surfel_count

bool32_t blender::eevee::CaptureInfoData::do_surfel_count

True if the surface shader needs to increment the surfel_len.

Definition at line 235 of file eevee_lightprobe_shared.hh.

◆ do_surfel_output

bool32_t blender::eevee::CaptureInfoData::do_surfel_output

True if the surface shader needs to write the surfel data.

Definition at line 233 of file eevee_lightprobe_shared.hh.

◆ irradiance_grid_local_to_world

float4x4 blender::eevee::CaptureInfoData::irradiance_grid_local_to_world

Transform of the light-probe object.

Definition at line 243 of file eevee_lightprobe_shared.hh.

◆ irradiance_grid_size

packed_int3 blender::eevee::CaptureInfoData::irradiance_grid_size

Grid size without padding.

Definition at line 231 of file eevee_lightprobe_shared.hh.

◆ irradiance_grid_world_to_local

float4x4 blender::eevee::CaptureInfoData::irradiance_grid_world_to_local

Transform of the light-probe object.

Definition at line 245 of file eevee_lightprobe_shared.hh.

◆ irradiance_grid_world_to_local_rotation

float4x4 blender::eevee::CaptureInfoData::irradiance_grid_world_to_local_rotation

Transform vectors from world space to local space. Does not have location component. TODO(fclem): This could be a float3x4 or a float3x3 if padded correctly.

Definition at line 248 of file eevee_lightprobe_shared.hh.

◆ max_virtual_offset

float blender::eevee::CaptureInfoData::max_virtual_offset

Maximum world scale offset an irradiance grid sample can be baked with.

Definition at line 264 of file eevee_lightprobe_shared.hh.

◆ min_distance_to_surface

float blender::eevee::CaptureInfoData::min_distance_to_surface

Minimum distance between a grid sample and a surface. Used to compute virtual offset.

Definition at line 262 of file eevee_lightprobe_shared.hh.

◆ sample_count

float blender::eevee::CaptureInfoData::sample_count

Total number of a ray for light transportation.

Definition at line 239 of file eevee_lightprobe_shared.hh.

◆ sample_index

float blender::eevee::CaptureInfoData::sample_index

0 based sample index.

Definition at line 241 of file eevee_lightprobe_shared.hh.

◆ scene_bound_x_max

int blender::eevee::CaptureInfoData::scene_bound_x_max

Definition at line 253 of file eevee_lightprobe_shared.hh.

◆ scene_bound_x_min

int blender::eevee::CaptureInfoData::scene_bound_x_min

Scene bounds. Stored as min & max and as int for atomic operations.

Definition at line 250 of file eevee_lightprobe_shared.hh.

◆ scene_bound_y_max

int blender::eevee::CaptureInfoData::scene_bound_y_max

Definition at line 254 of file eevee_lightprobe_shared.hh.

◆ scene_bound_y_min

int blender::eevee::CaptureInfoData::scene_bound_y_min

Definition at line 251 of file eevee_lightprobe_shared.hh.

◆ scene_bound_z_max

int blender::eevee::CaptureInfoData::scene_bound_z_max

Definition at line 255 of file eevee_lightprobe_shared.hh.

◆ scene_bound_z_min

int blender::eevee::CaptureInfoData::scene_bound_z_min

Definition at line 252 of file eevee_lightprobe_shared.hh.

◆ surfel_len

uint blender::eevee::CaptureInfoData::surfel_len

Number of surfels inside the surfel buffer or the needed len.

Definition at line 237 of file eevee_lightprobe_shared.hh.

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

◆ surfel_radius

float blender::eevee::CaptureInfoData::surfel_radius

Radius of surfels.

Definition at line 266 of file eevee_lightprobe_shared.hh.

◆ world_atlas_coord

SphereProbeUvArea blender::eevee::CaptureInfoData::world_atlas_coord

Definition at line 276 of file eevee_lightprobe_shared.hh.


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