Blender V4.5
blender::eevee::CaptureInfoData Struct Reference

#include <eevee_shader_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 1782 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad0

int blender::eevee::CaptureInfoData::_pad0

Definition at line 1827 of file eevee_shader_shared.hh.

◆ _pad1

float blender::eevee::CaptureInfoData::_pad1

Definition at line 1812 of file eevee_shader_shared.hh.

◆ _pad2

float blender::eevee::CaptureInfoData::_pad2

Definition at line 1813 of file eevee_shader_shared.hh.

◆ capture_emission

bool32_t blender::eevee::CaptureInfoData::capture_emission

Definition at line 1826 of file eevee_shader_shared.hh.

◆ capture_indirect

bool32_t blender::eevee::CaptureInfoData::capture_indirect

Definition at line 1825 of file eevee_shader_shared.hh.

◆ capture_visibility_direct

bool32_t blender::eevee::CaptureInfoData::capture_visibility_direct

Definition at line 1823 of file eevee_shader_shared.hh.

◆ capture_visibility_indirect

bool32_t blender::eevee::CaptureInfoData::capture_visibility_indirect

Definition at line 1824 of file eevee_shader_shared.hh.

◆ capture_world_direct

bool32_t blender::eevee::CaptureInfoData::capture_world_direct

Capture options.

Definition at line 1821 of file eevee_shader_shared.hh.

◆ capture_world_indirect

bool32_t blender::eevee::CaptureInfoData::capture_world_indirect

Definition at line 1822 of file eevee_shader_shared.hh.

◆ clamp_direct

float blender::eevee::CaptureInfoData::clamp_direct

Definition at line 1810 of file eevee_shader_shared.hh.

◆ clamp_indirect

float blender::eevee::CaptureInfoData::clamp_indirect

Definition at line 1811 of file eevee_shader_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 1788 of file eevee_shader_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 1786 of file eevee_shader_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 1796 of file eevee_shader_shared.hh.

◆ irradiance_grid_size

packed_int3 blender::eevee::CaptureInfoData::irradiance_grid_size

Grid size without padding.

Definition at line 1784 of file eevee_shader_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 1798 of file eevee_shader_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 1801 of file eevee_shader_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 1817 of file eevee_shader_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 1815 of file eevee_shader_shared.hh.

◆ sample_count

float blender::eevee::CaptureInfoData::sample_count

Total number of a ray for light transportation.

Definition at line 1792 of file eevee_shader_shared.hh.

◆ sample_index

float blender::eevee::CaptureInfoData::sample_index

0 based sample index.

Definition at line 1794 of file eevee_shader_shared.hh.

◆ scene_bound_x_max

int blender::eevee::CaptureInfoData::scene_bound_x_max

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

◆ scene_bound_y_max

int blender::eevee::CaptureInfoData::scene_bound_y_max

Definition at line 1807 of file eevee_shader_shared.hh.

◆ scene_bound_y_min

int blender::eevee::CaptureInfoData::scene_bound_y_min

Definition at line 1804 of file eevee_shader_shared.hh.

◆ scene_bound_z_max

int blender::eevee::CaptureInfoData::scene_bound_z_max

Definition at line 1808 of file eevee_shader_shared.hh.

◆ scene_bound_z_min

int blender::eevee::CaptureInfoData::scene_bound_z_min

Definition at line 1805 of file eevee_shader_shared.hh.

◆ surfel_len

uint blender::eevee::CaptureInfoData::surfel_len

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

Definition at line 1790 of file eevee_shader_shared.hh.

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

◆ surfel_radius

float blender::eevee::CaptureInfoData::surfel_radius

Radius of surfels.

Definition at line 1819 of file eevee_shader_shared.hh.

◆ world_atlas_coord

SphereProbeUvArea blender::eevee::CaptureInfoData::world_atlas_coord

Definition at line 1829 of file eevee_shader_shared.hh.


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