C# 클래스 LibAPNG.XNA.APNGPipelineExtension.TextureProcessorUtils

파일 보기 프로젝트 열기: xupefei/APNG.NET 1 사용 예제들

공개 메소드들

메소드 설명
ColorKey ( TextureContent texture, Color colorKey ) : void
IsHighPrecisionFormat ( Type bitmapType ) : bool
PremultiplyAlpha ( TextureContent texture ) : void
ResizeToPowerOfTwo ( TextureContent texture ) : void

비공개 메소드들

메소드 설명
BestGuessCompress ( TextureContent texture ) : void
ChangeTextureToRequestedFormat ( TextureContent texture, Type originalType, TextureProcessorOutputFormat textureFormat ) : void
ConvertBitmap ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent source, Type newType, int width, int height ) : Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent
HasFractionalAlpha ( TextureContent texture ) : bool
RoundUpToPowerOfTwo ( int value ) : int

메소드 상세

ColorKey() 공개 정적인 메소드

public static ColorKey ( TextureContent texture, Color colorKey ) : void
texture Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent
colorKey Color
리턴 void

IsHighPrecisionFormat() 공개 정적인 메소드

public static IsHighPrecisionFormat ( Type bitmapType ) : bool
bitmapType System.Type
리턴 bool

PremultiplyAlpha() 공개 정적인 메소드

public static PremultiplyAlpha ( TextureContent texture ) : void
texture Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent
리턴 void

ResizeToPowerOfTwo() 공개 정적인 메소드

public static ResizeToPowerOfTwo ( TextureContent texture ) : void
texture Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent
리턴 void