C# Class 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
Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Свойство Type Description
RGB15 RGBFormat
RGB16 RGBFormat
RGB24 RGBFormat
RGB32 RGBFormat
RGBA15 RGBFormat
RGBA32 RGBFormat

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CheckConsistancy ( ) : bool
GetMaskInfo ( uint mask, byte &shift, byte &precision ) : void

Method Details

PrintBitmask() public méthode

public PrintBitmask ( uint mask ) : void
mask uint
Résultat void

RGBFormat() public méthode

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
Résultat System

Property Details

RGB15 public_oe static_oe property

public static RGBFormat,Papyrus.Types RGB15
Résultat RGBFormat

RGB16 public_oe static_oe property

public static RGBFormat,Papyrus.Types RGB16
Résultat RGBFormat

RGB24 public_oe static_oe property

public static RGBFormat,Papyrus.Types RGB24
Résultat RGBFormat

RGB32 public_oe static_oe property

public static RGBFormat,Papyrus.Types RGB32
Résultat RGBFormat

RGBA15 public_oe static_oe property

public static RGBFormat,Papyrus.Types RGBA15
Résultat RGBFormat

RGBA32 public_oe static_oe property

public static RGBFormat,Papyrus.Types RGBA32
Résultat RGBFormat