Blender V5.0
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 _pad0
float _pad1
float _pad2

Detailed Description

Definition at line 19 of file eevee_motion_blur_shared.hh.

Member Data Documentation

◆ _pad0

float blender::eevee::MotionBlurData::_pad0

Definition at line 27 of file eevee_motion_blur_shared.hh.

◆ _pad1

float blender::eevee::MotionBlurData::_pad1

Definition at line 27 of file eevee_motion_blur_shared.hh.

◆ _pad2

float blender::eevee::MotionBlurData::_pad2

Definition at line 27 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 25 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 23 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 21 of file eevee_motion_blur_shared.hh.


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