abstract class Opal::Shader::Pass

Overview

Abstract base class for a single shader post-processing pass.

Direct Known Subclasses

Defined in:

opal/shader/pass.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(region : Rect | Nil = nil) #

[View source]

Instance Method Detail

abstract def apply(source : UI::Buffer, target : UI::Buffer, time : Float64, frame : UInt64) : Nil #

[View source]
def enabled=(enabled : Bool) #

[View source]
def enabled? : Bool #

[View source]
def region : Rect | Nil #

[View source]
def region=(region : Rect | Nil) #

[View source]