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

#include <eevee_shader_shared.hh>

Public Attributes

int2int2 extent
int2int2 offset
int2int2 render_extent
float2float2 subpixel_offset
float2float2 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 423 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad2

int blender::eevee::FilmData::_pad2

Definition at line 498 of file eevee_shader_shared.hh.

◆ ambient_occlusion_id

int blender::eevee::FilmData::ambient_occlusion_id

Definition at line 464 of file eevee_shader_shared.hh.

◆ aov_color_id

int blender::eevee::FilmData::aov_color_id

Start of AOVs and number of aov.

Definition at line 476 of file eevee_shader_shared.hh.

◆ aov_color_len

int blender::eevee::FilmData::aov_color_len

Definition at line 476 of file eevee_shader_shared.hh.

◆ aov_value_id

int blender::eevee::FilmData::aov_value_id

Definition at line 477 of file eevee_shader_shared.hh.

◆ aov_value_len

int blender::eevee::FilmData::aov_value_len

Definition at line 477 of file eevee_shader_shared.hh.

◆ background_opacity

float blender::eevee::FilmData::background_opacity

Controlled by user in lookdev mode or by render settings.

Definition at line 448 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ color_len

int blender::eevee::FilmData::color_len

Output counts per type.

Definition at line 450 of file eevee_shader_shared.hh.

◆ combined_id

int blender::eevee::FilmData::combined_id

Definition at line 468 of file eevee_shader_shared.hh.

◆ cryptomatte_asset_id

int blender::eevee::FilmData::cryptomatte_asset_id

Definition at line 480 of file eevee_shader_shared.hh.

◆ cryptomatte_material_id

int blender::eevee::FilmData::cryptomatte_material_id

Definition at line 481 of file eevee_shader_shared.hh.

◆ cryptomatte_object_id

int blender::eevee::FilmData::cryptomatte_object_id

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

Definition at line 479 of file eevee_shader_shared.hh.

◆ cryptomatte_samples_len

int blender::eevee::FilmData::cryptomatte_samples_len

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

Definition at line 483 of file eevee_shader_shared.hh.

◆ depth_id

int blender::eevee::FilmData::depth_id

Not indexed but still not -1 if enabled.

Definition at line 467 of file eevee_shader_shared.hh.

◆ diffuse_color_id

int blender::eevee::FilmData::diffuse_color_id

Definition at line 457 of file eevee_shader_shared.hh.

◆ diffuse_light_id

int blender::eevee::FilmData::diffuse_light_id

Definition at line 456 of file eevee_shader_shared.hh.

◆ display_id

int blender::eevee::FilmData::display_id

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

Definition at line 470 of file eevee_shader_shared.hh.

◆ display_only

bool32_t blender::eevee::FilmData::display_only

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

Definition at line 474 of file eevee_shader_shared.hh.

◆ display_storage_type

ePassStorageType blender::eevee::FilmData::display_storage_type

Storage type of the render-pass to be displayed.

Definition at line 472 of file eevee_shader_shared.hh.

◆ emission_id

int blender::eevee::FilmData::emission_id

Definition at line 461 of file eevee_shader_shared.hh.

◆ environment_id

int blender::eevee::FilmData::environment_id

Definition at line 462 of file eevee_shader_shared.hh.

◆ exposure_scale

float blender::eevee::FilmData::exposure_scale

Scene exposure used for better noise reduction.

Definition at line 487 of file eevee_shader_shared.hh.

◆ extent

int2int2 blender::eevee::FilmData::extent

Size of the film in pixels.

Definition at line 425 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ extent_inv

float2float2 blender::eevee::FilmData::extent_inv

Scaling factor to convert texel to uvs.

Definition at line 439 of file eevee_shader_shared.hh.

◆ filter_radius

float blender::eevee::FilmData::filter_radius

Film pixel filter radius.

Definition at line 493 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ mist_bias

float blender::eevee::FilmData::mist_bias

Definition at line 485 of file eevee_shader_shared.hh.

◆ mist_exponent

float blender::eevee::FilmData::mist_exponent

Definition at line 485 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 452 of file eevee_shader_shared.hh.

◆ mist_scale

float blender::eevee::FilmData::mist_scale

Settings to render mist pass

Definition at line 485 of file eevee_shader_shared.hh.

◆ normal_id

int blender::eevee::FilmData::normal_id

Definition at line 453 of file eevee_shader_shared.hh.

◆ offset

int2int2 blender::eevee::FilmData::offset

Offset to convert from Display space to Film space, in pixels.

Definition at line 427 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ 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 444 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ position_id

int blender::eevee::FilmData::position_id

Definition at line 454 of file eevee_shader_shared.hh.

◆ render_extent

int2int2 blender::eevee::FilmData::render_extent

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

Definition at line 429 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ samples

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

Definition at line 499 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 495 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 497 of file eevee_shader_shared.hh.

◆ scaling_factor

int blender::eevee::FilmData::scaling_factor

Scaling factor for scaled resolution rendering.

Definition at line 489 of file eevee_shader_shared.hh.

Referenced by blender::eevee::operator==().

◆ shadow_id

int blender::eevee::FilmData::shadow_id

Definition at line 463 of file eevee_shader_shared.hh.

◆ specular_color_id

int blender::eevee::FilmData::specular_color_id

Definition at line 459 of file eevee_shader_shared.hh.

◆ specular_light_id

int blender::eevee::FilmData::specular_light_id

Definition at line 458 of file eevee_shader_shared.hh.

◆ subpixel_offset

float2float2 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 437 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 491 of file eevee_shader_shared.hh.

◆ transparent_id

int blender::eevee::FilmData::transparent_id

Definition at line 465 of file eevee_shader_shared.hh.

◆ 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 446 of file eevee_shader_shared.hh.

◆ value_len

int blender::eevee::FilmData::value_len

Definition at line 450 of file eevee_shader_shared.hh.

◆ vector_id

int blender::eevee::FilmData::vector_id

Definition at line 455 of file eevee_shader_shared.hh.

◆ volume_light_id

int blender::eevee::FilmData::volume_light_id

Definition at line 460 of file eevee_shader_shared.hh.


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