C# 클래스 Papyrus.Types.RGBFormat

The RGBFormat object specifies how pixels are laid out in bits and bytes. Using this object, a rendering engine can generically set and get pixel values in a pixel buffer without having to explicitly hardcode for the format. Drawing using this mechanism would likely be very slow, but it makes it possible for all RGB circumstances. The format assumes a miximum of 32 bits per pixel
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 프로퍼티들

프로퍼티 타입 설명
RGB15 RGBFormat
RGB16 RGBFormat
RGB24 RGBFormat
RGB32 RGBFormat
RGBA15 RGBFormat
RGBA32 RGBFormat

공개 메소드들

메소드 설명
PrintBitmask ( uint mask ) : void
RGBFormat ( byte bperpixel, byte byperpixel, byte rsize, byte gsize, byte bsize, byte asize, byte rloss, byte gloss, byte bloss, byte aloss, byte rshft, byte gshft, byte bshft, byte ashft, uint rmsk, uint gmsk, uint bmsk, uint amsk ) : System

비공개 메소드들

메소드 설명
CheckConsistancy ( ) : bool
GetMaskInfo ( uint mask, byte &shift, byte &precision ) : void

메소드 상세

PrintBitmask() 공개 메소드

public PrintBitmask ( uint mask ) : void
mask uint
리턴 void

RGBFormat() 공개 메소드

public RGBFormat ( byte bperpixel, byte byperpixel, byte rsize, byte gsize, byte bsize, byte asize, byte rloss, byte gloss, byte bloss, byte aloss, byte rshft, byte gshft, byte bshft, byte ashft, uint rmsk, uint gmsk, uint bmsk, uint amsk ) : System
bperpixel byte
byperpixel byte
rsize byte
gsize byte
bsize byte
asize byte
rloss byte
gloss byte
bloss byte
aloss byte
rshft byte
gshft byte
bshft byte
ashft byte
rmsk uint
gmsk uint
bmsk uint
amsk uint
리턴 System

프로퍼티 상세

RGB15 공개적으로 정적으로 프로퍼티

public static RGBFormat,Papyrus.Types RGB15
리턴 RGBFormat

RGB16 공개적으로 정적으로 프로퍼티

public static RGBFormat,Papyrus.Types RGB16
리턴 RGBFormat

RGB24 공개적으로 정적으로 프로퍼티

public static RGBFormat,Papyrus.Types RGB24
리턴 RGBFormat

RGB32 공개적으로 정적으로 프로퍼티

public static RGBFormat,Papyrus.Types RGB32
리턴 RGBFormat

RGBA15 공개적으로 정적으로 프로퍼티

public static RGBFormat,Papyrus.Types RGBA15
리턴 RGBFormat

RGBA32 공개적으로 정적으로 프로퍼티

public static RGBFormat,Papyrus.Types RGBA32
리턴 RGBFormat