Blender  V2.93
Public Attributes | List of all members
EEVEE_LightBake Struct Reference

Public Attributes

Depsgraphdepsgraph
 
ViewLayerview_layer
 
ViewLayerview_layer_input
 
LightCachelcache
 
Scenescene
 
struct Mainbmain
 
EEVEE_ViewLayerDatasldata
 
LightProbe ** probe
 
GPUTexturert_color
 
GPUTexturert_depth
 
GPUFrameBufferrt_fb [6]
 
GPUFrameBufferstore_fb
 
int rt_res
 
int layer
 
float samples_ct
 
float invsamples_ct
 
float lod_factor
 
float lod_max
 
int cube_len
 
int grid_len
 
EEVEE_LightGridgrid
 
int irr_cube_res
 
int irr_size [3]
 
int total_irr_samples
 
int grid_sample
 
int grid_sample_len
 
int grid_curr
 
int bounce_curr
 
int bounce_len
 
float vis_res
 
GPUTexturegrid_prev
 
LightProbe ** grid_prb
 
EEVEE_LightProbecube
 
int ref_cube_res
 
int cube_offset
 
LightProbe ** cube_prb
 
struct GPUTexturedummy_color
 
struct GPUTexturedummy_depth
 
struct GPUTexturedummy_layer_color
 
int total
 
int done
 
short * stop
 
short * do_update
 
floatprogress
 
bool resource_only
 
bool own_resources
 
bool own_light_cache
 
int delay
 
int frame
 
void * gl_context
 
void * gpu_context
 
ThreadMutexmutex
 

Detailed Description

Definition at line 87 of file eevee_lightcache.c.

Member Data Documentation

◆ bmain

struct Main* EEVEE_LightBake::bmain

◆ bounce_curr

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().

◆ bounce_len

int EEVEE_LightBake::bounce_len

◆ cube

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().

◆ cube_len

int EEVEE_LightBake::cube_len

◆ cube_offset

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().

◆ cube_prb

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().

◆ delay

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

Depsgraph* EEVEE_LightBake::depsgraph

◆ do_update

short * EEVEE_LightBake::do_update

Definition at line 160 of file eevee_lightcache.c.

Referenced by EEVEE_lightbake_job(), and lightbake_do_sample().

◆ done

int EEVEE_LightBake::done

Definition at line 159 of file eevee_lightcache.c.

Referenced by eevee_lightbake_gather_probes(), and lightbake_do_sample().

◆ dummy_color

struct GPUTexture* EEVEE_LightBake::dummy_color

Definition at line 156 of file eevee_lightcache.c.

◆ dummy_depth

struct GPUTexture * EEVEE_LightBake::dummy_depth

Definition at line 156 of file eevee_lightcache.c.

◆ dummy_layer_color

struct GPUTexture* EEVEE_LightBake::dummy_layer_color

Definition at line 157 of file eevee_lightcache.c.

◆ frame

int EEVEE_LightBake::frame

◆ gl_context

void* EEVEE_LightBake::gl_context

◆ gpu_context

void * EEVEE_LightBake::gpu_context

◆ grid

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().

◆ grid_curr

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().

◆ grid_len

int EEVEE_LightBake::grid_len

◆ grid_prb

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().

◆ grid_prev

GPUTexture* EEVEE_LightBake::grid_prev

◆ grid_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().

◆ grid_sample_len

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().

◆ invsamples_ct

float EEVEE_LightBake::invsamples_ct

Definition at line 113 of file eevee_lightcache.c.

◆ irr_cube_res

int EEVEE_LightBake::irr_cube_res

Target cube-map at MIP 0.

Definition at line 125 of file eevee_lightcache.c.

◆ irr_size

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().

◆ layer

int EEVEE_LightBake::layer

Target layer to store the data to.

Definition at line 111 of file eevee_lightcache.c.

◆ lcache

LightCache* EEVEE_LightBake::lcache

◆ lod_factor

float EEVEE_LightBake::lod_factor

Sampling bias during convolution step.

Definition at line 115 of file eevee_lightcache.c.

◆ lod_max

float EEVEE_LightBake::lod_max

Max cube-map LOD to sample when convolving.

Definition at line 117 of file eevee_lightcache.c.

◆ mutex

ThreadMutex* EEVEE_LightBake::mutex

◆ own_light_cache

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().

◆ own_resources

bool EEVEE_LightBake::own_resources

◆ probe

LightProbe** EEVEE_LightBake::probe

◆ progress

float* EEVEE_LightBake::progress

Definition at line 161 of file eevee_lightcache.c.

Referenced by EEVEE_lightbake_job(), and lightbake_do_sample().

◆ ref_cube_res

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().

◆ resource_only

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().

◆ rt_color

GPUTexture* EEVEE_LightBake::rt_color

◆ rt_depth

GPUTexture* EEVEE_LightBake::rt_depth

◆ rt_fb

GPUFrameBuffer* EEVEE_LightBake::rt_fb[6]

◆ rt_res

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().

◆ samples_ct

float EEVEE_LightBake::samples_ct

Sample count for the convolution.

Definition at line 113 of file eevee_lightcache.c.

◆ scene

Scene* EEVEE_LightBake::scene

◆ sldata

EEVEE_ViewLayerData* EEVEE_LightBake::sldata

◆ stop

short* EEVEE_LightBake::stop

◆ store_fb

GPUFrameBuffer* EEVEE_LightBake::store_fb

◆ total

int EEVEE_LightBake::total

Definition at line 159 of file eevee_lightcache.c.

Referenced by eevee_lightbake_gather_probes(), and lightbake_do_sample().

◆ total_irr_samples

int EEVEE_LightBake::total_irr_samples

◆ view_layer

ViewLayer* EEVEE_LightBake::view_layer

Definition at line 89 of file eevee_lightcache.c.

Referenced by EEVEE_lightbake_job().

◆ view_layer_input

ViewLayer* EEVEE_LightBake::view_layer_input

◆ vis_res

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().


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