Пример #1
0
 public void FromArgb32(Argb32 source) => this.FromScaledVector4(source.ToScaledVector4());
Пример #2
0
 public void FromArgb32(Argb32 source)
 {
     this.R = ImageMaths.UpscaleFrom8BitTo16Bit(source.R);
     this.G = ImageMaths.UpscaleFrom8BitTo16Bit(source.G);
     this.B = ImageMaths.UpscaleFrom8BitTo16Bit(source.B);
 }
Пример #3
0
 public void PackFromArgb32(Argb32 source)
 {
     this.PackFromVector4(source.ToVector4());
 }
Пример #4
0
 public void FromArgb32(Argb32 source)
 {
     this.R = ColorNumerics.UpscaleFrom8BitTo16Bit(source.R);
     this.G = ColorNumerics.UpscaleFrom8BitTo16Bit(source.G);
     this.B = ColorNumerics.UpscaleFrom8BitTo16Bit(source.B);
 }
Пример #5
0
 public void FromArgb32(Argb32 source) => this.FromVector4(source.ToVector4());
Пример #6
0
 public void PackFromArgb32(Argb32 source)
 {
     this.PackedValue = source.A;
 }
Пример #7
0
 public void FromArgb32(Argb32 source)
 {
     this.R = source.R;
     this.G = source.G;
     this.B = source.B;
 }
Пример #8
0
 public void PackFromArgb32(Argb32 source)
 {
     this.backingVector = source.ToVector4();
 }