Example #1
0
 public void FromColor(Bgra32 source)
 {
     R = ScalingHelper.ToUInt16(source.R);
     G = ScalingHelper.ToUInt16(source.G);
     B = ScalingHelper.ToUInt16(source.B);
 }
Example #2
0
 public void FromColor(Bgra32 source) => FromColor(source.ToRgba32());
Example #3
0
 public void FromColor(Bgra32 source)
 {
     B = source.B;
     G = source.G;
     R = source.R;
 }