Blender
V3.3
|
Definition at line 72 of file eevee_lightcache.c.
struct Main* EEVEE_LightBake::bmain |
Definition at line 78 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job_create(), and EEVEE_lightbake_job_data_alloc().
int EEVEE_LightBake::bounce_curr |
The current light bounce being evaluated.
Definition at line 122 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
int EEVEE_LightBake::bounce_len |
Definition at line 122 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
EEVEE_LightProbe* EEVEE_LightBake::cube |
Current probe being rendered (UBO data).
Definition at line 132 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_probe_sample().
int EEVEE_LightBake::cube_len |
Number of probes to render + world probe.
Definition at line 104 of file eevee_lightcache.c.
Referenced by eevee_lightbake_count_probes(), eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), EEVEE_lightbake_job(), and eevee_lightbake_render_probe_sample().
int EEVEE_LightBake::cube_offset |
Index of the current cube.
Definition at line 136 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_probe_sample().
LightProbe** EEVEE_LightBake::cube_prb |
Pointer to the owner_id of the probe object.
Definition at line 138 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), EEVEE_lightbake_job(), and EEVEE_lightbake_job_data_free().
int EEVEE_LightBake::delay |
ms. delay the start of the baking to not slowdown interactions (TODO: remove).
Definition at line 154 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and EEVEE_lightbake_job_create().
Depsgraph* EEVEE_LightBake::depsgraph |
Definition at line 73 of file eevee_lightcache.c.
Referenced by eevee_lightbake_cache_create(), eevee_lightbake_count_probes(), eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), EEVEE_lightbake_job(), EEVEE_lightbake_job_create(), EEVEE_lightbake_job_data_alloc(), EEVEE_lightbake_job_data_free(), eevee_lightbake_render_grid_sample(), eevee_lightbake_render_probe_sample(), eevee_lightbake_render_world_sample(), and lightbake_do_sample().
short * EEVEE_LightBake::do_update |
Definition at line 145 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and lightbake_do_sample().
int EEVEE_LightBake::done |
Definition at line 144 of file eevee_lightcache.c.
Referenced by eevee_lightbake_gather_probes(), and lightbake_do_sample().
struct GPUTexture* EEVEE_LightBake::dummy_color |
Definition at line 141 of file eevee_lightcache.c.
struct GPUTexture * EEVEE_LightBake::dummy_depth |
Definition at line 141 of file eevee_lightcache.c.
struct GPUTexture* EEVEE_LightBake::dummy_layer_color |
Definition at line 142 of file eevee_lightcache.c.
int EEVEE_LightBake::frame |
Scene frame to bake.
Definition at line 156 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), EEVEE_lightbake_job_create(), and EEVEE_lightbake_job_data_alloc().
void* EEVEE_LightBake::gl_context |
If running in parallel (in a separate thread), use this context.
Definition at line 159 of file eevee_lightcache.c.
Referenced by eevee_lightbake_context_disable(), eevee_lightbake_context_enable(), eevee_lightbake_delete_resources(), EEVEE_lightbake_job(), EEVEE_lightbake_job_create(), and EEVEE_lightbake_job_data_alloc().
void * EEVEE_LightBake::gpu_context |
Definition at line 159 of file eevee_lightcache.c.
Referenced by eevee_lightbake_context_disable(), eevee_lightbake_context_enable(), and eevee_lightbake_delete_resources().
EEVEE_LightGrid* EEVEE_LightBake::grid |
Current probe being rendered (UBO data).
Definition at line 108 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
int EEVEE_LightBake::grid_curr |
Nth grid in the cache being rendered.
Definition at line 120 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
int EEVEE_LightBake::grid_len |
Definition at line 104 of file eevee_lightcache.c.
Referenced by eevee_lightbake_count_probes(), eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), EEVEE_lightbake_job(), eevee_lightbake_render_grid_sample(), and eevee_lightbake_render_world_sample().
LightProbe** EEVEE_LightBake::grid_prb |
Pointer to the owner_id of the probe object.
Definition at line 128 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), EEVEE_lightbake_job(), and EEVEE_lightbake_job_data_free().
GPUTexture* EEVEE_LightBake::grid_prev |
Result of previous light bounce.
Definition at line 126 of file eevee_lightcache.c.
Referenced by eevee_lightbake_copy_irradiance(), eevee_lightbake_create_resources(), eevee_lightbake_delete_resources(), eevee_lightbake_render_grid_sample(), and eevee_lightbake_render_world_sample().
int EEVEE_LightBake::grid_sample |
Nth sample of the current grid being rendered.
Definition at line 116 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
int EEVEE_LightBake::grid_sample_len |
Total number of samples for the current grid.
Definition at line 118 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
float EEVEE_LightBake::invsamples_count |
Definition at line 98 of file eevee_lightcache.c.
int EEVEE_LightBake::irr_cube_res |
Target cube-map at MIP 0.
Definition at line 110 of file eevee_lightcache.c.
int EEVEE_LightBake::irr_size[3] |
Size of the irradiance texture.
Definition at line 112 of file eevee_lightcache.c.
Referenced by eevee_lightbake_copy_irradiance(), and eevee_lightbake_create_resources().
int EEVEE_LightBake::layer |
Target layer to store the data to.
Definition at line 96 of file eevee_lightcache.c.
LightCache* EEVEE_LightBake::lcache |
Definition at line 76 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), EEVEE_lightbake_job(), and EEVEE_lightbake_update().
float EEVEE_LightBake::lod_factor |
Sampling bias during convolution step.
Definition at line 100 of file eevee_lightcache.c.
float EEVEE_LightBake::lod_max |
Max cube-map LOD to sample when convolving.
Definition at line 102 of file eevee_lightcache.c.
ThreadMutex* EEVEE_LightBake::mutex |
Definition at line 161 of file eevee_lightcache.c.
Referenced by eevee_lightbake_delete_resources(), EEVEE_lightbake_job_create(), EEVEE_lightbake_job_data_alloc(), and EEVEE_lightbake_job_data_free().
bool EEVEE_LightBake::own_light_cache |
If the light-cache was created for baking, it's first owned by the baker.
Definition at line 152 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), EEVEE_lightbake_job_data_alloc(), and EEVEE_lightbake_update().
bool EEVEE_LightBake::own_resources |
Definition at line 150 of file eevee_lightcache.c.
Referenced by eevee_lightbake_delete_resources(), EEVEE_lightbake_job_create(), and EEVEE_lightbake_job_data_alloc().
LightProbe** EEVEE_LightBake::probe |
Current probe being rendered.
Definition at line 82 of file eevee_lightcache.c.
Referenced by eevee_lightbake_cache_create(), EEVEE_lightbake_job(), eevee_lightbake_render_grid_sample(), and eevee_lightbake_render_probe_sample().
float* EEVEE_LightBake::progress |
Definition at line 146 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and lightbake_do_sample().
int EEVEE_LightBake::ref_cube_res |
Target cube-map at MIP 0.
Definition at line 134 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources().
bool EEVEE_LightBake::resource_only |
For only handling the resources.
Definition at line 149 of file eevee_lightcache.c.
Referenced by eevee_lightbake_delete_resources(), and EEVEE_lightbake_update_world_quick().
GPUTexture* EEVEE_LightBake::rt_color |
Target cube color texture.
Definition at line 84 of file eevee_lightcache.c.
Referenced by eevee_lightbake_cache_create(), eevee_lightbake_create_render_target(), eevee_lightbake_delete_resources(), eevee_lightbake_render_grid_sample(), eevee_lightbake_render_probe_sample(), eevee_lightbake_render_world_sample(), and EEVEE_lightbake_update_world_quick().
GPUTexture* EEVEE_LightBake::rt_depth |
Target cube depth texture.
Definition at line 86 of file eevee_lightcache.c.
Referenced by eevee_lightbake_cache_create(), eevee_lightbake_create_render_target(), eevee_lightbake_delete_resources(), eevee_lightbake_render_grid_sample(), and EEVEE_lightbake_update_world_quick().
GPUFrameBuffer* EEVEE_LightBake::rt_fb[6] |
Target cube frame-buffers.
Definition at line 88 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_render_target(), eevee_lightbake_delete_resources(), eevee_lightbake_render_grid_sample(), eevee_lightbake_render_probe_sample(), eevee_lightbake_render_world_sample(), and EEVEE_lightbake_update_world_quick().
int EEVEE_LightBake::rt_res |
Cube render target resolution.
Definition at line 92 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), and EEVEE_lightbake_job().
float EEVEE_LightBake::samples_count |
Sample count for the convolution.
Definition at line 98 of file eevee_lightcache.c.
Scene* EEVEE_LightBake::scene |
Definition at line 77 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job_create(), EEVEE_lightbake_job_data_alloc(), and EEVEE_lightbake_update().
EEVEE_ViewLayerData* EEVEE_LightBake::sldata |
Definition at line 79 of file eevee_lightcache.c.
Referenced by eevee_lightbake_cache_create(), and eevee_lightbake_delete_resources().
short* EEVEE_LightBake::stop |
Definition at line 145 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), EEVEE_lightbake_job_create(), and lightbake_do_sample().
GPUFrameBuffer* EEVEE_LightBake::store_fb |
Storage frame-buffer.
Definition at line 90 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_render_target(), eevee_lightbake_delete_resources(), eevee_lightbake_render_grid_sample(), eevee_lightbake_render_probe_sample(), eevee_lightbake_render_world_sample(), and EEVEE_lightbake_update_world_quick().
int EEVEE_LightBake::total |
Definition at line 144 of file eevee_lightcache.c.
Referenced by eevee_lightbake_gather_probes(), and lightbake_do_sample().
int EEVEE_LightBake::total_irr_samples |
Total for all grids
Definition at line 114 of file eevee_lightcache.c.
Referenced by eevee_lightbake_count_probes(), eevee_lightbake_create_resources(), eevee_lightbake_gather_probes(), and eevee_lightbake_render_grid_sample().
ViewLayer* EEVEE_LightBake::view_layer |
Definition at line 74 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job().
ViewLayer* EEVEE_LightBake::view_layer_input |
Definition at line 75 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job_create(), and EEVEE_lightbake_job_data_alloc().
float EEVEE_LightBake::vis_res |
Resolution of the Visibility shadow-map.
Definition at line 124 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), and eevee_lightbake_render_grid_sample().