Blender V5.3
blender::eevee::MotionBlurData Struct Reference

#include <eevee_motion_blur_shared.hh>

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

Public Attributes

float2 target_size_inv
float2 motion_scale
float depth_scale
float motion_max_offset_px
float _pad1
float _pad2

Detailed Description

Definition at line 21 of file eevee_motion_blur_shared.hh.

Member Data Documentation

◆ _pad1

float blender::eevee::MotionBlurData::_pad1

Definition at line 32 of file eevee_motion_blur_shared.hh.

◆ _pad2

float blender::eevee::MotionBlurData::_pad2

Definition at line 33 of file eevee_motion_blur_shared.hh.

◆ depth_scale

float blender::eevee::MotionBlurData::depth_scale

Depth scaling factor. Avoid blurring background behind moving objects.

Definition at line 27 of file eevee_motion_blur_shared.hh.

◆ motion_max_offset_px

float blender::eevee::MotionBlurData::motion_max_offset_px

Max motion blur sampling radius in pixels. Clamped to the cubeface's overscan margin for panoramic cameras, to the render extent's diagonal otherwise.

Definition at line 30 of file eevee_motion_blur_shared.hh.

◆ motion_scale

float2 blender::eevee::MotionBlurData::motion_scale

Viewport motion scaling factor. Make blur relative to frame time not render time.

Definition at line 25 of file eevee_motion_blur_shared.hh.

◆ target_size_inv

float2 blender::eevee::MotionBlurData::target_size_inv

As the name suggests. Used to avoid a division in the sampling.

Definition at line 23 of file eevee_motion_blur_shared.hh.


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