class

Opal::Shader::FirePass

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

Built-in Ascending Fire dispersion shader pass

Constants

FIRE_RAMP = [{' ', Color.none}, {'.', Color.rgb(80, 0, 0)}, {':', Color.rgb(180, 20, 0)}, {'*', Color.rgb(240, 100, 0)}, {'#', Color.rgb(255, 200, 0)}, {'█', Color.rgb(255, 255, 220)}]

Constructors

new(region : Rect | Nil = nil, speed : Float64 = 1.0)
Source

Instance methods

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