|
Blender V5.0
|
#include <eevee_motion_blur.hh>
Public Member Functions | |
| MotionBlurModule (Instance &inst) | |
| ~MotionBlurModule () | |
| bool | postfx_enabled () const |
MotionBlurModule | |
| void | init () |
| void | step () |
| void | sync () |
| void | render (View &view, gpu::Texture **input_tx, gpu::Texture **output_tx) |
Manages time-steps evaluations and accumulation Motion blur. Also handles Post process motion blur.
Definition at line 68 of file eevee_motion_blur.hh.
|
inline |
Definition at line 113 of file eevee_motion_blur.hh.
|
inline |
Definition at line 114 of file eevee_motion_blur.hh.
| void blender::eevee::MotionBlurModule::init | ( | ) |
Definition at line 25 of file eevee_motion_blur.cc.
References BKE_curvemapping_changed(), blender::eevee::Sampling::cdf_from_curvemapping(), blender::eevee::Sampling::cdf_invert(), RenderData::cfra, CM_TABLE, Scene::eevee, ViewLayer::layflag, max_ii(), RenderData::mblur_shutter_curve, RenderData::mode, SceneEEVEE::motion_blur_depth_scale, RenderData::motion_blur_position, RenderData::motion_blur_shutter, SceneEEVEE::motion_blur_steps, Scene::r, R_MBLUR, SCE_LAY_MOTION_BLUR, blender::eevee::STEP_NEXT, blender::eevee::STEP_PREVIOUS, and RenderData::subframe.
|
inline |
Definition at line 123 of file eevee_motion_blur.hh.
| void blender::eevee::MotionBlurModule::render | ( | View & | view, |
| gpu::Texture ** | input_tx, | ||
| gpu::Texture ** | output_tx ) |
Definition at line 190 of file eevee_motion_blur.cc.
References blender::math::divide_ceil(), fabsf, GPU_debug_group_begin(), GPU_debug_group_end(), blender::draw::Texture::height(), MOTION_BLUR_GROUP_SIZE, MOTION_BLUR_TILE_SIZE, blender::eevee::STEP_CURRENT, blender::eevee::STEP_PREVIOUS, view, and blender::draw::Texture::width().
| void blender::eevee::MotionBlurModule::step | ( | ) |
Definition at line 85 of file eevee_motion_blur.cc.
References BLI_assert, RE_engine_frame_set(), and blender::eevee::STEP_NEXT.
| void blender::eevee::MotionBlurModule::sync | ( | ) |
Definition at line 129 of file eevee_motion_blur.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::barrier(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_image(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_ssbo(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), GPUSamplerState::default_sampler(), blender::eevee::RenderBuffers::depth_tx, blender::draw::detail::PassBase< DrawCommandBufType >::dispatch(), GPU_BARRIER_SHADER_IMAGE_ACCESS, GPU_BARRIER_SHADER_STORAGE, GPU_BARRIER_TEXTURE_FETCH, blender::eevee::RenderBuffers::init(), blender::eevee::MOTION_BLUR_GATHER, blender::eevee::MOTION_BLUR_TILE_DILATE, blender::eevee::MOTION_BLUR_TILE_FLATTEN_RG, blender::eevee::MOTION_BLUR_TILE_FLATTEN_RGBA, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), and blender::eevee::RenderBuffers::vector_tx.