Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::render::pipeline::BlurManager Class Reference

Helper to blur pipeline passes. More...

#include <OxygenEngine/render/pipeline/blur_manager.h>

Public Member Functions

 BlurManager (Pipeline &pipeline, const glm::ivec2 &dimensions, int size=7, float sigma=3)
 
void blur (Framebuffer &source, oe::render::Framebuffer &target, const bool resize_viewport=true)
 blur the framebuffer and store in target
 

Detailed Description

Helper to blur pipeline passes.

Can be used for bloom or refractive effects

Member Function Documentation

◆ blur()

void oe::render::pipeline::BlurManager::blur ( Framebuffer source,
oe::render::Framebuffer target,
const bool  resize_viewport = true 
)

blur the framebuffer and store in target

Note
source and target can be the same framebuffer

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