|
Blender
V2.93
|
Definition at line 87 of file eevee_lightcache.c.
| struct Main* EEVEE_LightBake::bmain |
Definition at line 93 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 137 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
| int EEVEE_LightBake::bounce_len |
Definition at line 137 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 147 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 119 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 151 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 153 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 169 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and EEVEE_lightbake_job_create().
| Depsgraph* EEVEE_LightBake::depsgraph |
Definition at line 88 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 160 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and lightbake_do_sample().
| int EEVEE_LightBake::done |
Definition at line 159 of file eevee_lightcache.c.
Referenced by eevee_lightbake_gather_probes(), and lightbake_do_sample().
| struct GPUTexture* EEVEE_LightBake::dummy_color |
Definition at line 156 of file eevee_lightcache.c.
| struct GPUTexture * EEVEE_LightBake::dummy_depth |
Definition at line 156 of file eevee_lightcache.c.
| struct GPUTexture* EEVEE_LightBake::dummy_layer_color |
Definition at line 157 of file eevee_lightcache.c.
| int EEVEE_LightBake::frame |
Scene frame to bake.
Definition at line 171 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 174 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 174 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 123 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 135 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
| int EEVEE_LightBake::grid_len |
Definition at line 119 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 143 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 141 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 131 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 133 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job(), and eevee_lightbake_render_grid_sample().
| float EEVEE_LightBake::invsamples_ct |
Definition at line 113 of file eevee_lightcache.c.
| int EEVEE_LightBake::irr_cube_res |
Target cube-map at MIP 0.
Definition at line 125 of file eevee_lightcache.c.
| int EEVEE_LightBake::irr_size[3] |
Size of the irradiance texture.
Definition at line 127 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 111 of file eevee_lightcache.c.
| LightCache* EEVEE_LightBake::lcache |
Definition at line 91 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 115 of file eevee_lightcache.c.
| float EEVEE_LightBake::lod_max |
Max cube-map LOD to sample when convolving.
Definition at line 117 of file eevee_lightcache.c.
| ThreadMutex* EEVEE_LightBake::mutex |
Definition at line 176 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 167 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 165 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 97 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 161 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 149 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources().
| bool EEVEE_LightBake::resource_only |
For only handling the resources.
Definition at line 164 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 99 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 101 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 103 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 107 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), and EEVEE_lightbake_job().
| float EEVEE_LightBake::samples_ct |
Sample count for the convolution.
Definition at line 113 of file eevee_lightcache.c.
| Scene* EEVEE_LightBake::scene |
Definition at line 92 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 94 of file eevee_lightcache.c.
Referenced by eevee_lightbake_cache_create(), and eevee_lightbake_delete_resources().
| short* EEVEE_LightBake::stop |
Definition at line 160 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 105 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 159 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 129 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 89 of file eevee_lightcache.c.
Referenced by EEVEE_lightbake_job().
| ViewLayer* EEVEE_LightBake::view_layer_input |
Definition at line 90 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 139 of file eevee_lightcache.c.
Referenced by eevee_lightbake_create_resources(), and eevee_lightbake_render_grid_sample().