Blender V5.0
blender::eevee::FilmData Struct Reference

#include <eevee_film_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 48 of file eevee_film_shared.hh.

Member Data Documentation

◆ _pad2

int blender::eevee::FilmData::_pad2

Definition at line 123 of file eevee_film_shared.hh.

◆ ambient_occlusion_id

int blender::eevee::FilmData::ambient_occlusion_id

Definition at line 89 of file eevee_film_shared.hh.

◆ aov_color_id

int blender::eevee::FilmData::aov_color_id

Start of AOVs and number of aov.

Definition at line 101 of file eevee_film_shared.hh.

◆ aov_color_len

int blender::eevee::FilmData::aov_color_len

Definition at line 101 of file eevee_film_shared.hh.

◆ aov_value_id

int blender::eevee::FilmData::aov_value_id

Definition at line 102 of file eevee_film_shared.hh.

◆ aov_value_len

int blender::eevee::FilmData::aov_value_len

Definition at line 102 of file eevee_film_shared.hh.

◆ background_opacity

float blender::eevee::FilmData::background_opacity

Controlled by user in lookdev mode or by render settings.

Definition at line 73 of file eevee_film_shared.hh.

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

◆ color_len

int blender::eevee::FilmData::color_len

Output counts per type.

Definition at line 75 of file eevee_film_shared.hh.

◆ combined_id

int blender::eevee::FilmData::combined_id

Definition at line 93 of file eevee_film_shared.hh.

◆ cryptomatte_asset_id

int blender::eevee::FilmData::cryptomatte_asset_id

Definition at line 105 of file eevee_film_shared.hh.

◆ cryptomatte_material_id

int blender::eevee::FilmData::cryptomatte_material_id

Definition at line 106 of file eevee_film_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 104 of file eevee_film_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 108 of file eevee_film_shared.hh.

◆ depth_id

int blender::eevee::FilmData::depth_id

Not indexed but still not -1 if enabled.

Definition at line 92 of file eevee_film_shared.hh.

◆ diffuse_color_id

int blender::eevee::FilmData::diffuse_color_id

Definition at line 82 of file eevee_film_shared.hh.

◆ diffuse_light_id

int blender::eevee::FilmData::diffuse_light_id

Definition at line 81 of file eevee_film_shared.hh.

◆ display_id

int blender::eevee::FilmData::display_id

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

Definition at line 95 of file eevee_film_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 99 of file eevee_film_shared.hh.

◆ display_storage_type

ePassStorageType blender::eevee::FilmData::display_storage_type

Storage type of the render-pass to be displayed.

Definition at line 97 of file eevee_film_shared.hh.

◆ emission_id

int blender::eevee::FilmData::emission_id

Definition at line 86 of file eevee_film_shared.hh.

◆ environment_id

int blender::eevee::FilmData::environment_id

Definition at line 87 of file eevee_film_shared.hh.

◆ exposure_scale

float blender::eevee::FilmData::exposure_scale

Scene exposure used for better noise reduction.

Definition at line 112 of file eevee_film_shared.hh.

◆ extent

int2 blender::eevee::FilmData::extent

Size of the film in pixels.

Definition at line 50 of file eevee_film_shared.hh.

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

◆ extent_inv

float2 blender::eevee::FilmData::extent_inv

Scaling factor to convert texel to uvs.

Definition at line 64 of file eevee_film_shared.hh.

◆ filter_radius

float blender::eevee::FilmData::filter_radius

Film pixel filter radius.

Definition at line 118 of file eevee_film_shared.hh.

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

◆ mist_bias

float blender::eevee::FilmData::mist_bias

Definition at line 110 of file eevee_film_shared.hh.

◆ mist_exponent

float blender::eevee::FilmData::mist_exponent

Definition at line 110 of file eevee_film_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 77 of file eevee_film_shared.hh.

◆ mist_scale

float blender::eevee::FilmData::mist_scale

Settings to render mist pass

Definition at line 110 of file eevee_film_shared.hh.

◆ normal_id

int blender::eevee::FilmData::normal_id

Definition at line 78 of file eevee_film_shared.hh.

◆ offset

int2 blender::eevee::FilmData::offset

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

Definition at line 52 of file eevee_film_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 69 of file eevee_film_shared.hh.

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

◆ position_id

int blender::eevee::FilmData::position_id

Definition at line 79 of file eevee_film_shared.hh.

◆ 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 54 of file eevee_film_shared.hh.

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

◆ samples

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

Definition at line 124 of file eevee_film_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 120 of file eevee_film_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 122 of file eevee_film_shared.hh.

◆ scaling_factor

int blender::eevee::FilmData::scaling_factor

Scaling factor for scaled resolution rendering.

Definition at line 114 of file eevee_film_shared.hh.

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

◆ shadow_id

int blender::eevee::FilmData::shadow_id

Definition at line 88 of file eevee_film_shared.hh.

◆ specular_color_id

int blender::eevee::FilmData::specular_color_id

Definition at line 84 of file eevee_film_shared.hh.

◆ specular_light_id

int blender::eevee::FilmData::specular_light_id

Definition at line 83 of file eevee_film_shared.hh.

◆ 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 62 of file eevee_film_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 116 of file eevee_film_shared.hh.

◆ transparent_id

int blender::eevee::FilmData::transparent_id

Definition at line 90 of file eevee_film_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 71 of file eevee_film_shared.hh.

◆ value_len

int blender::eevee::FilmData::value_len

Definition at line 75 of file eevee_film_shared.hh.

◆ vector_id

int blender::eevee::FilmData::vector_id

Definition at line 80 of file eevee_film_shared.hh.

◆ volume_light_id

int blender::eevee::FilmData::volume_light_id

Definition at line 85 of file eevee_film_shared.hh.


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