PointClickEngine::Graphics::Effects::PostProcessing::DistortionShader
Inherits PointClickEngine::Graphics::Effects::ShaderEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object
Shader-based distortion effect
Constructors
new(distortion_type : DistortionType = DistortionType::HeatHaze, strength : Float32 = 0.01_f32, duration : Float32 = 0.0_f32)
SourceInstance methods
clone
Sourcedistortion_type
Sourcedistortion_type=(distortion_type : DistortionType)
Sourcefrequency
Sourcefrequency=(frequency : Float32)
Sourceheat_vertical_speed
Sourceheat_vertical_speed=(heat_vertical_speed : Float32)
Sourcelens_center
Sourcelens_center=(lens_center : RL::Vector2)
Sourcelens_k2
Sourcelens_k2=(lens_k2 : Float32)
Sourcerender_scene_with_distortion
Sourceripple_amplitude
Sourceripple_amplitude=(ripple_amplitude : Float32)
Sourceripple_decay
Sourceripple_decay=(ripple_decay : Float32)
Sourceripple_wavelength
Sourceripple_wavelength=(ripple_wavelength : Float32)
Sourceset_displacement_map(texture : RL::Texture2D)
Sourceshock_force
Sourceshock_force=(shock_force : Float32)
Sourceshock_radius
Sourceshock_radius=(shock_radius : Float32)
Sourceshock_thickness
Sourceshock_thickness=(shock_thickness : Float32)
Sourcespeed
Sourcespeed=(speed : Float32)
Sourcestrength
Sourcestrength=(strength : Float32)
Source