C# Class tk2dEditor.TextureProcessing.FloydSteinbergDithering

Mostra file Open project: Collegiennes/Malisse

Public Methods

Method Description
DitherTexture ( Texture2D texture, TextureFormat targetTextureFormat, int x0, int y0, int w, int h ) : void

Destructive dithering of texture. Texture is 8888, will be written out as 8888 too

Method Details

DitherTexture() public static method

Destructive dithering of texture. Texture is 8888, will be written out as 8888 too
public static DitherTexture ( Texture2D texture, TextureFormat targetTextureFormat, int x0, int y0, int w, int h ) : void
texture UnityEngine.Texture2D
targetTextureFormat TextureFormat
x0 int
y0 int
w int
h int
return void