C# 클래스 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.
상속: Microsoft.Xna.Framework.Graphics.Effect
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
PaletteCyclerEffect ( ) : Microsoft.Xna.Framework.Graphics
updateTime ( ) : void

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

메소드 상세

PaletteCyclerEffect() 공개 메소드

public PaletteCyclerEffect ( ) : Microsoft.Xna.Framework.Graphics
리턴 Microsoft.Xna.Framework.Graphics

updateTime() 공개 메소드

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