Bgr565¶
-
struct
Bgr565
: System.ValueType, Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector<UInt16>, IPackedVector, System.IEquatable<Bgr565> Packed vector type containing unsigned normalized values ranging from 0 to 1. The x and z components use 5 bits, and the y component uses 6 bits.
-
ushort
PackedValue
Gets and sets the packed value.
-
Vector3
ToVector3
() Gets the packed vector in Vector3 format.
Returns: The packed vector in Vector3 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
(Bgr565 other) Compares another Bgr565 packed vector with the packed vector.
Parameters: - other (Microsoft.Xna.Framework.Graphics.PackedVector.Bgr565) – The Bgr565 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