class

PointClickEngine::Graphics::Shaders::PostProcessor

Inherits Reference < Object

Manages a chain of post-processing effects

Constructors

new(width : Int32, height : Int32)
Source

Instance methods

add_effect(effect : ShaderEffect, enabled : Bool = true)

Add effect to chain

Source
begin_capture

Begin capturing to post-processor

Source
cleanup

Cleanup

Source
clear_effects

Clear all effects

Source
effects

Effect chain

Source
effects=(effects : Array(EffectEntry))

Effect chain

Source
end_capture

End capture and apply effects

Source
get_effect(type : T.class) : T | Nil forall T

Get effect by type

Source
has_active_effects?

Check if has any active effects

Source
height
Source
height=(height : Int32)
Source
remove_effect(effect : ShaderEffect)

Remove effect from chain

Source
render(delta_time : Float32)

Process and render to screen

Source
resize(width : Int32, height : Int32)

Resize render textures

Source
set_effect_enabled(effect : ShaderEffect, enabled : Bool)

Enable/disable effect

Source
width

Screen dimensions

Source
width=(width : Int32)

Screen dimensions

Source

Nested types