class

Opal::Shader::RipplePass

Inherits Opal::Shader::Pass < Reference < Object

Built-in Water Ripple & Caustic Distortion shader pass

Constructors

new(region : Rect | Nil = nil, speed : Float64 = 2.0, frequency : Float64 = 0.4, amplitude : Float64 = 1.5)
Source

Instance methods

amplitude
Source
amplitude=(amplitude : Float64)
Source
apply(source : UI::Buffer, target : UI::Buffer, time : Float64, frame : UInt64) : Nil
Source
frequency
Source
frequency=(frequency : Float64)
Source
speed
Source
speed=(speed : Float64)
Source