C# Class Heirloom.SurfaceEffect

The abstract representation of a particular surface effect.
A surface effect modifies the content of a surface through a shader based post processing step.
Show file Open project: Chamberlain91/Heirloom

Public Properties

Property Type Description
None SurfaceEffect

Protected Methods

Method Description
Apply ( Heirloom.GraphicsContext gfx, Heirloom.Surface surface ) : void

Called when the effect should be applied to the specified surface.

Method Details

Apply() protected abstract method

Called when the effect should be applied to the specified surface.
protected abstract Apply ( Heirloom.GraphicsContext gfx, Heirloom.Surface surface ) : void
gfx Heirloom.GraphicsContext The graphics context.
surface Heirloom.Surface The target surface to modify.
return void

Property Details

None public static property

A surface effect that makes no changes.
public static SurfaceEffect,Heirloom None
return SurfaceEffect