public void PackFromRgba32(Rgba32 source) { var vector = source.ToVector4(); vector *= 65534; vector -= new Vector4(32767); this.PackedValue = Pack(vector.X, vector.Y, vector.Z, vector.W); }
public void PackFromRgba32(Rgba32 source) { this.PackFromVector4(source.ToVector4()); }
public void FromRgba32(Rgba32 source) => this.FromVector4(source.ToVector4());
public void PackFromRgba32(Rgba32 source) { this.backingVector = source.ToVector4(); }