C# 클래스 YCgACoEncoder, unity-ycca-subsampling

파일 보기 프로젝트 열기: n-yoda/unity-ycca-subsampling 1 사용 예제들

공개 메소드들

메소드 설명
Encode ( Texture2D src, Texture2D dst, bool gpu = false, YCgACoFormat format = YCgACoFormat.CgACoY_DontChange, int quality = 100 ) : void
RGBAToCgACoY ( Color src, Color dst ) : void
Shrink ( Color src, Color dst, int srcW, int dstW ) : void

비공개 메소드들

메소드 설명
Compress ( Texture2D dst, YCgACoFormat format, int quality ) : void
Resize ( Texture src, Texture2D dst, YCgACoFormat format ) : void

메소드 상세

Encode() 공개 정적인 메소드

public static Encode ( Texture2D src, Texture2D dst, bool gpu = false, YCgACoFormat format = YCgACoFormat.CgACoY_DontChange, int quality = 100 ) : void
src UnityEngine.Texture2D
dst UnityEngine.Texture2D
gpu bool
format YCgACoFormat
quality int
리턴 void

RGBAToCgACoY() 공개 정적인 메소드

public static RGBAToCgACoY ( Color src, Color dst ) : void
src Color
dst Color
리턴 void

Shrink() 공개 정적인 메소드

public static Shrink ( Color src, Color dst, int srcW, int dstW ) : void
src Color
dst Color
srcW int
dstW int
리턴 void