Blender V4.5
blender::eevee::MotionBlurData Struct Reference

#include <eevee_shader_shared.hh>

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

Public Attributes

float2float2 target_size_inv
float2float2 motion_scale
float depth_scale
float _pad0
float _pad1
float _pad2

Detailed Description

Definition at line 626 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad0

float blender::eevee::MotionBlurData::_pad0

Definition at line 634 of file eevee_shader_shared.hh.

◆ _pad1

float blender::eevee::MotionBlurData::_pad1

Definition at line 634 of file eevee_shader_shared.hh.

◆ _pad2

float blender::eevee::MotionBlurData::_pad2

Definition at line 634 of file eevee_shader_shared.hh.

◆ depth_scale

float blender::eevee::MotionBlurData::depth_scale

Depth scaling factor. Avoid blurring background behind moving objects.

Definition at line 632 of file eevee_shader_shared.hh.

◆ motion_scale

float2float2 blender::eevee::MotionBlurData::motion_scale

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

Definition at line 630 of file eevee_shader_shared.hh.

◆ target_size_inv

float2float2 blender::eevee::MotionBlurData::target_size_inv

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

Definition at line 628 of file eevee_shader_shared.hh.


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