C# Class Nez.PaletteCyclerEffect

retro palette swap/cycle effect. If cycleSpeed is 0 (the default) this works as a plain old palette swap. It should be used with a grayscale texture and a paletteTexture that has a 1 pixel height.
Inheritance: Microsoft.Xna.Framework.Graphics.Effect
ファイルを表示 Open project: prime31/Nez

Public Methods

Method Description
PaletteCyclerEffect ( ) : Microsoft.Xna.Framework.Graphics
updateTime ( ) : void

updates the _time param of the shader if cycleSpeed != 0

Method Details

PaletteCyclerEffect() public method

public PaletteCyclerEffect ( ) : Microsoft.Xna.Framework.Graphics
return Microsoft.Xna.Framework.Graphics

updateTime() public method

updates the _time param of the shader if cycleSpeed != 0
public updateTime ( ) : void
return void