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

#include <eevee_shader_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 592 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad0

float blender::eevee::MotionBlurData::_pad0

Definition at line 600 of file eevee_shader_shared.hh.

◆ _pad1

float blender::eevee::MotionBlurData::_pad1

Definition at line 600 of file eevee_shader_shared.hh.

◆ _pad2

float blender::eevee::MotionBlurData::_pad2

Definition at line 600 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 598 of file eevee_shader_shared.hh.

Referenced by blender::eevee::MotionBlurModule::init().

◆ motion_scale

float2 blender::eevee::MotionBlurData::motion_scale

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

Definition at line 596 of file eevee_shader_shared.hh.

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

◆ 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 594 of file eevee_shader_shared.hh.

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


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