class

PointClickEngine::Graphics::Effects::PostProcessing::BlurShader

Inherits PointClickEngine::Graphics::Effects::ShaderEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object

Shader-based blur effect

Constructors

new(blur_type : BlurType = BlurType::Gaussian, blur_radius : Float32 = 5.0_f32, duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Apply the effect (must be implemented by subclasses)

Source
blur_quality
Source
blur_quality=(blur_quality : Int32)
Source
blur_radius
Source
blur_radius=(blur_radius : Float32)
Source
blur_type
Source
blur_type=(blur_type : BlurType)
Source
clone
Source
fragment_shader_source

Abstract method to get fragment shader source

Source
motion_angle
Source
motion_angle=(motion_angle : Float32)
Source
motion_strength
Source
motion_strength=(motion_strength : Float32)
Source
radial_center
Source
radial_center=(radial_center : RL::Vector2)
Source
radial_zoom
Source
radial_zoom=(radial_zoom : Bool)
Source
render_scene_with_blur
Source
vertex_shader_source

Abstract method to get vertex shader source

Source