Bgra5551¶
-
struct
Bgra5551
: System.ValueType, Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector<UInt16>, IPackedVector, System.IEquatable<Bgra5551> Packed vector type containing unsigned normalized values ranging from 0 to 1. The x , y and z components use 5 bits, and the w component uses 1 bit.
-
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
(Bgra5551 other) Compares another Bgra5551 packed vector with the packed vector.
Parameters: - other (Microsoft.Xna.Framework.Graphics.PackedVector.Bgra5551) – The Bgra5551 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