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
Показать файл Открыть проект

Открытые методы

Метод Описание
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