C# 클래스 ctpktool.Texture

파일 보기 프로젝트 열기: SciresM/FEAT 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Data byte[]
HasAlpha bool
Height int
TextureFormat TextureFormat
Width int

공개 메소드들

메소드 설명
GetBitmap ( ) : Bitmap
GetPixelSize ( TextureFormat textureFormat, int width, int height ) : uint
GetRGBA ( ) : byte[]
GetScrambledTextureData ( Bitmap bmp ) : byte[]
Texture ( ) : System
Texture ( int width, int height, TextureFormat textureFormat, byte data ) : System

비공개 메소드들

메소드 설명
GetPixel ( int &ofs, decimal &adjustment ) : Color
GetPlainRasterData ( Bitmap bmp ) : void
GetPlainRasterData ( byte &data ) : void
IsPowerOfTwo ( int x ) : bool
nlpo2 ( int x ) : int

메소드 상세

GetBitmap() 공개 메소드

public GetBitmap ( ) : Bitmap
리턴 System.Drawing.Bitmap

GetPixelSize() 공개 정적인 메소드

public static GetPixelSize ( TextureFormat textureFormat, int width, int height ) : uint
textureFormat TextureFormat
width int
height int
리턴 uint

GetRGBA() 공개 메소드

public GetRGBA ( ) : byte[]
리턴 byte[]

GetScrambledTextureData() 공개 메소드

public GetScrambledTextureData ( Bitmap bmp ) : byte[]
bmp System.Drawing.Bitmap
리턴 byte[]

Texture() 공개 메소드

public Texture ( ) : System
리턴 System

Texture() 공개 메소드

public Texture ( int width, int height, TextureFormat textureFormat, byte data ) : System
width int
height int
textureFormat TextureFormat
data byte
리턴 System

프로퍼티 상세

Data 공개적으로 프로퍼티

public byte[] Data
리턴 byte[]

HasAlpha 공개적으로 프로퍼티

public bool HasAlpha
리턴 bool

Height 공개적으로 프로퍼티

public int Height
리턴 int

TextureFormat 공개적으로 프로퍼티

public TextureFormat TextureFormat
리턴 TextureFormat

Width 공개적으로 프로퍼티

public int Width
리턴 int