Bgra4444¶
-
struct
Bgra4444
: System.ValueType, Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector<UInt16>, IPackedVector, System.IEquatable<Bgra4444> Packed vector type containing unsigned normalized values, ranging from 0 to 1, using 4 bits each for x, y, z, and w.
-
ushort
PackedValue
Gets and sets the packed value.
-
Vector4
ToVector4
() Gets the packed vector in Vector4 format.
Returns: The packed vector in Vector4 format
-
bool
Equals
(System.Object obj) Compares an object with the packed vector.
Parameters: - obj (System.Object) – The object to compare.
Returns: true if the object is equal to the packed vector.
-
bool
Equals
(Bgra4444 other) Compares another Bgra4444 packed vector with the packed vector.
Parameters: - other (Microsoft.Xna.Framework.Graphics.PackedVector.Bgra4444) – The Bgra4444 packed vector to compare.
Returns: true if the packed vectors are equal.
-
string
ToString
() Gets a string representation of the packed vector.
Returns: A string representation of the packed vector.
-
int
GetHashCode
() Gets a hash code of the packed vector.
Returns: The hash code for the packed vector.
-
ushort