Blender V5.0
eevee_depth_of_field_shared.hh File Reference

Go to the source code of this file.

Classes

struct  blender::eevee::DepthOfFieldData
struct  blender::eevee::ScatterRect

Namespaces

namespace  blender
namespace  blender::eevee

Macros

#define DOF_FAST_GATHER_COC_ERROR   0.05
#define DOF_GATHER_RING_COUNT   5
#define DOF_DILATE_RING_COUNT   3

Functions

static float blender::eevee::coc_radius_from_camera_depth (DepthOfFieldData dof, float depth)
static float blender::eevee::regular_polygon_side_length (float sides_count)
static float blender::eevee::circle_to_polygon_radius (float sides_count, float theta)
static float blender::eevee::circle_to_polygon_angle (float sides_count, float theta)

Macro Definition Documentation

◆ DOF_DILATE_RING_COUNT

#define DOF_DILATE_RING_COUNT   3

Definition at line 23 of file eevee_depth_of_field_shared.hh.

Referenced by blender::eevee::DepthOfField::render().

◆ DOF_FAST_GATHER_COC_ERROR

#define DOF_FAST_GATHER_COC_ERROR   0.05

Definition at line 21 of file eevee_depth_of_field_shared.hh.

◆ DOF_GATHER_RING_COUNT

#define DOF_GATHER_RING_COUNT   5

Definition at line 22 of file eevee_depth_of_field_shared.hh.

Referenced by blender::eevee::DepthOfField::render().