Blender V4.3
blender::eevee::FilmData Struct Reference

#include <eevee_shader_shared.hh>

Public Attributes

int2 extent
 
int2 offset
 
int2 render_extent
 
float2 subpixel_offset
 
float2 extent_inv
 
int overscan
 
bool32_t use_history
 
float background_opacity
 
int color_len
 
int value_len
 
int mist_id
 
int normal_id
 
int position_id
 
int vector_id
 
int diffuse_light_id
 
int diffuse_color_id
 
int specular_light_id
 
int specular_color_id
 
int volume_light_id
 
int emission_id
 
int environment_id
 
int shadow_id
 
int ambient_occlusion_id
 
int transparent_id
 
int depth_id
 
int combined_id
 
int display_id
 
ePassStorageType display_storage_type
 
bool32_t display_only
 
int aov_color_id
 
int aov_color_len
 
int aov_value_id
 
int aov_value_len
 
int cryptomatte_object_id
 
int cryptomatte_asset_id
 
int cryptomatte_material_id
 
int cryptomatte_samples_len
 
float mist_scale
 
float mist_bias
 
float mist_exponent
 
float exposure_scale
 
int scaling_factor
 
float texture_lod_bias
 
float filter_radius
 
int samples_len
 
float samples_weight_total
 
int _pad2
 
FilmSample samples [FILM_PRECOMP_SAMPLE_MAX]
 

Detailed Description

Definition at line 389 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad2

int blender::eevee::FilmData::_pad2

Definition at line 464 of file eevee_shader_shared.hh.

◆ ambient_occlusion_id

int blender::eevee::FilmData::ambient_occlusion_id

Definition at line 430 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ aov_color_id

int blender::eevee::FilmData::aov_color_id

Start of AOVs and number of aov.

Definition at line 442 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::get_aov_texture(), and blender::eevee::Film::init().

◆ aov_color_len

int blender::eevee::FilmData::aov_color_len

Definition at line 442 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ aov_value_id

int blender::eevee::FilmData::aov_value_id

◆ aov_value_len

int blender::eevee::FilmData::aov_value_len

Definition at line 443 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ background_opacity

float blender::eevee::FilmData::background_opacity

Controlled by user in lookdev mode or by render settings.

Definition at line 414 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ color_len

int blender::eevee::FilmData::color_len

Output counts per type.

Definition at line 416 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ combined_id

int blender::eevee::FilmData::combined_id

Definition at line 434 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ cryptomatte_asset_id

int blender::eevee::FilmData::cryptomatte_asset_id

◆ cryptomatte_material_id

int blender::eevee::FilmData::cryptomatte_material_id

◆ cryptomatte_object_id

int blender::eevee::FilmData::cryptomatte_object_id

Start of cryptomatte per layer (-1 if pass is not enabled).

Definition at line 445 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::cryptomatte_layer_len_get(), blender::eevee::Film::cryptomatte_layer_max_get(), and blender::eevee::Film::init().

◆ cryptomatte_samples_len

int blender::eevee::FilmData::cryptomatte_samples_len

Max number of samples stored per layer (is even number).

Definition at line 449 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ depth_id

int blender::eevee::FilmData::depth_id

Not indexed but still not -1 if enabled.

Definition at line 433 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ diffuse_color_id

int blender::eevee::FilmData::diffuse_color_id

Definition at line 423 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ diffuse_light_id

int blender::eevee::FilmData::diffuse_light_id

Definition at line 422 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ display_id

int blender::eevee::FilmData::display_id

Id of the render-pass to be displayed. -1 for combined.

Definition at line 436 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ display_only

bool32_t blender::eevee::FilmData::display_only

True if we bypass the accumulation and directly output the accumulation buffer.

Definition at line 440 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::accumulate(), and blender::eevee::Film::display().

◆ display_storage_type

ePassStorageType blender::eevee::FilmData::display_storage_type

Storage type of the render-pass to be displayed.

Definition at line 438 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ emission_id

int blender::eevee::FilmData::emission_id

Definition at line 427 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ environment_id

int blender::eevee::FilmData::environment_id

Definition at line 428 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ exposure_scale

float blender::eevee::FilmData::exposure_scale

Scene exposure used for better noise reduction.

Definition at line 453 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ extent

int2 blender::eevee::FilmData::extent

◆ extent_inv

float2 blender::eevee::FilmData::extent_inv

Scaling factor to convert texel to uvs.

Definition at line 405 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ filter_radius

float blender::eevee::FilmData::filter_radius

Film pixel filter radius.

Definition at line 459 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init(), and blender::eevee::Film::pixel_jitter_get().

◆ mist_bias

float blender::eevee::FilmData::mist_bias

Definition at line 451 of file eevee_shader_shared.hh.

◆ mist_exponent

float blender::eevee::FilmData::mist_exponent

Definition at line 451 of file eevee_shader_shared.hh.

◆ mist_id

int blender::eevee::FilmData::mist_id

Index in color_accum_img or value_accum_img of each pass. -1 if pass is not enabled.

Definition at line 418 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ mist_scale

float blender::eevee::FilmData::mist_scale

Settings to render mist pass

Definition at line 451 of file eevee_shader_shared.hh.

◆ normal_id

int blender::eevee::FilmData::normal_id

Definition at line 419 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ offset

int2 blender::eevee::FilmData::offset

◆ overscan

int blender::eevee::FilmData::overscan

Number of border pixels on all sides inside the render_extent that do not contribute to the final image.

Definition at line 410 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ position_id

int blender::eevee::FilmData::position_id

Definition at line 420 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ render_extent

int2 blender::eevee::FilmData::render_extent

Size of the render buffers including overscan when rendering the main views, in pixels.

Definition at line 395 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ samples

FilmSample blender::eevee::FilmData::samples[FILM_PRECOMP_SAMPLE_MAX]

Definition at line 465 of file eevee_shader_shared.hh.

◆ samples_len

int blender::eevee::FilmData::samples_len

Precomputed samples. First in the table is the closest one. The rest is unordered.

Definition at line 461 of file eevee_shader_shared.hh.

◆ samples_weight_total

float blender::eevee::FilmData::samples_weight_total

Sum of the weights of all samples in the sample table.

Definition at line 463 of file eevee_shader_shared.hh.

◆ scaling_factor

int blender::eevee::FilmData::scaling_factor

Scaling factor for scaled resolution rendering.

Definition at line 455 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init(), and blender::eevee::Film::pixel_jitter_get().

◆ shadow_id

int blender::eevee::FilmData::shadow_id

Definition at line 429 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ specular_color_id

int blender::eevee::FilmData::specular_color_id

Definition at line 425 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ specular_light_id

int blender::eevee::FilmData::specular_light_id

Definition at line 424 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ subpixel_offset

float2 blender::eevee::FilmData::subpixel_offset

Sub-pixel offset applied to the window matrix. NOTE: In render target pixel unit. NOTE: Positive values makes the view translate in the negative axes direction. NOTE: The origin is the center of the lower left film pixel of the area covered by a render pixel if using scaled resolution rendering.

Definition at line 403 of file eevee_shader_shared.hh.

◆ texture_lod_bias

float blender::eevee::FilmData::texture_lod_bias

Software LOD bias to apply to when sampling texture inside the node-tree evaluation.

Definition at line 457 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ transparent_id

int blender::eevee::FilmData::transparent_id

Definition at line 431 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ use_history

bool32_t blender::eevee::FilmData::use_history

Is true if history is valid and can be sampled. Bypass history to resets accumulation.

Definition at line 412 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::accumulate(), blender::eevee::Film::end_sync(), and blender::eevee::Film::init().

◆ value_len

int blender::eevee::FilmData::value_len

Definition at line 416 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ vector_id

int blender::eevee::FilmData::vector_id

Definition at line 421 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().

◆ volume_light_id

int blender::eevee::FilmData::volume_light_id

Definition at line 426 of file eevee_shader_shared.hh.

Referenced by blender::eevee::Film::init().


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