class

PointClickEngine::Graphics::Shaders::ShaderEffect

Inherits Reference < Object

Base class for shader-based effects

Constructors

new(shader : RL::Shader)
Source

Instance methods

apply(source : RL::RenderTexture2D, target : RL::RenderTexture2D, time : Float32)

Apply effect to render texture

Source
cleanup

Cleanup

Source
enabled
Source
enabled=(enabled : Bool)
Source
intensity
Source
intensity=(intensity : Float32)
Source
setup_uniforms

Setup uniform locations (override in subclasses)

Source
shader
Source
shader=(shader : RL::Shader)
Source
update_uniforms(time : Float32)

Update shader uniforms before rendering

Source