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

#include <eevee_depth_of_field_shared.hh>

Inherited by blender::draw::UniformBuffer< DepthOfFieldData >.

Public Attributes

int2 extent
float2 texel_size
float2 bokeh_anisotropic_scale
float2 bokeh_anisotropic_scale_inv
float2 gather_uv_fac
float scatter_coc_threshold
float scatter_color_threshold
float scatter_neighbor_max_color
int scatter_sprite_per_row
float bokeh_blades
float bokeh_rotation
float coc_mul
float coc_bias
float coc_abs_max
eCameraType camera_type
float4 filter_samples_weight
float filter_center_weight
uint scatter_max_rect
int _pad0
int _pad1

Detailed Description

Definition at line 25 of file eevee_depth_of_field_shared.hh.

Member Data Documentation

◆ _pad0

int blender::eevee::DepthOfFieldData::_pad0

Definition at line 56 of file eevee_depth_of_field_shared.hh.

◆ _pad1

int blender::eevee::DepthOfFieldData::_pad1

Definition at line 56 of file eevee_depth_of_field_shared.hh.

◆ bokeh_anisotropic_scale

float2 blender::eevee::DepthOfFieldData::bokeh_anisotropic_scale

Scale factor for anisotropic bokeh.

Definition at line 31 of file eevee_depth_of_field_shared.hh.

◆ bokeh_anisotropic_scale_inv

float2 blender::eevee::DepthOfFieldData::bokeh_anisotropic_scale_inv

Definition at line 32 of file eevee_depth_of_field_shared.hh.

◆ bokeh_blades

float blender::eevee::DepthOfFieldData::bokeh_blades

Number of side the bokeh shape has.

Definition at line 41 of file eevee_depth_of_field_shared.hh.

◆ bokeh_rotation

float blender::eevee::DepthOfFieldData::bokeh_rotation

Rotation of the bokeh shape.

Definition at line 43 of file eevee_depth_of_field_shared.hh.

◆ camera_type

eCameraType blender::eevee::DepthOfFieldData::camera_type

Copy of camera type.

Definition at line 49 of file eevee_depth_of_field_shared.hh.

◆ coc_abs_max

float blender::eevee::DepthOfFieldData::coc_abs_max

Maximum absolute allowed Circle of confusion (CoC). Min of computed max and user max.

Definition at line 47 of file eevee_depth_of_field_shared.hh.

◆ coc_bias

float blender::eevee::DepthOfFieldData::coc_bias

Definition at line 45 of file eevee_depth_of_field_shared.hh.

◆ coc_mul

float blender::eevee::DepthOfFieldData::coc_mul

Multiplier and bias to apply to linear depth to Circle of confusion (CoC).

Definition at line 45 of file eevee_depth_of_field_shared.hh.

◆ extent

int2 blender::eevee::DepthOfFieldData::extent

Size of the render targets for gather & scatter passes.

Definition at line 27 of file eevee_depth_of_field_shared.hh.

◆ filter_center_weight

float blender::eevee::DepthOfFieldData::filter_center_weight

Definition at line 52 of file eevee_depth_of_field_shared.hh.

◆ filter_samples_weight

float4 blender::eevee::DepthOfFieldData::filter_samples_weight

Weights of spatial filtering in stabilize pass. Not array to avoid alignment restriction.

Definition at line 51 of file eevee_depth_of_field_shared.hh.

◆ gather_uv_fac

float2 blender::eevee::DepthOfFieldData::gather_uv_fac

Definition at line 34 of file eevee_depth_of_field_shared.hh.

◆ scatter_coc_threshold

float blender::eevee::DepthOfFieldData::scatter_coc_threshold

Scatter parameters.

Definition at line 36 of file eevee_depth_of_field_shared.hh.

◆ scatter_color_threshold

float blender::eevee::DepthOfFieldData::scatter_color_threshold

Definition at line 37 of file eevee_depth_of_field_shared.hh.

◆ scatter_max_rect

uint blender::eevee::DepthOfFieldData::scatter_max_rect

Max number of sprite in the scatter pass for each ground.

Definition at line 54 of file eevee_depth_of_field_shared.hh.

◆ scatter_neighbor_max_color

float blender::eevee::DepthOfFieldData::scatter_neighbor_max_color

Definition at line 38 of file eevee_depth_of_field_shared.hh.

◆ scatter_sprite_per_row

int blender::eevee::DepthOfFieldData::scatter_sprite_per_row

Definition at line 39 of file eevee_depth_of_field_shared.hh.

◆ texel_size

float2 blender::eevee::DepthOfFieldData::texel_size

Size of a pixel in uv space (1.0 / extent).

Definition at line 29 of file eevee_depth_of_field_shared.hh.


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