C# 클래스 CrystalMpq.DataFormats.ArgbColor

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

공개 프로퍼티들

프로퍼티 타입 설명
A byte
B byte
G byte
R byte

공개 메소드들

메소드 설명
ArgbColor ( byte r, byte g, byte b ) : System
ArgbColor ( byte r, byte g, byte b, byte a ) : System
ArgbColor ( ushort color ) : System

비공개 메소드들

메소드 설명
CopyOpaque ( ArgbColor destination, ArgbColor source ) : void

Copies an ArgbColor into another, with forced opaque alpha.

CopyWithAlpha ( ArgbColor destination, ArgbColor source, byte alpha ) : void

Copies an ArgbColor into another, with forced opaque alpha.

DxtMergeHalves ( ArgbColor result, ArgbColor color1, ArgbColor color2 ) : void

Merges two colors for DXT decompression.

DxtMergeThirds ( ArgbColor result, ArgbColor minColor, ArgbColor maxColor ) : void

Merges two colors for DXT decompression.

메소드 상세

ArgbColor() 공개 메소드

public ArgbColor ( byte r, byte g, byte b ) : System
r byte
g byte
b byte
리턴 System

ArgbColor() 공개 메소드

public ArgbColor ( byte r, byte g, byte b, byte a ) : System
r byte
g byte
b byte
a byte
리턴 System

ArgbColor() 공개 메소드

public ArgbColor ( ushort color ) : System
color ushort
리턴 System

프로퍼티 상세

A 공개적으로 프로퍼티

public byte A
리턴 byte

B 공개적으로 프로퍼티

public byte B
리턴 byte

G 공개적으로 프로퍼티

public byte G
리턴 byte

R 공개적으로 프로퍼티

public byte R
리턴 byte