Bgra4444 Structure
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Packed vector type containing unsigned normalized values, ranging from 0 to 1, using 4 bits each for x, y, z, and w.
Namespace: Microsoft.Xna.Framework.Graphics.PackedVector
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Structure Bgra4444 _
Implements IPackedVector(Of UShort), IPackedVector
public struct Bgra4444 : IPackedVector<ushort>,
IPackedVector
The Bgra4444 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Bgra4444(Vector4) | Creates an instance of this object. | |
Bgra4444(Single, Single, Single, Single) | Creates an instance of this object. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Tests an object to see if it is equal to this object. (Overrides ValueType.Equals(Object).) | |
Equals(Bgra4444) | Tests an object to see if it is equal to this object. | |
GetHashCode | Gets the hash code for this object. (Overrides ValueType.GetHashCode().) | |
ToString | Returns a string representation. (Overrides ValueType.ToString().) | |
ToVector4 | Unpacks this object to a four-component vector. |
Top
Operators
Name | Description | |
---|---|---|
Equality | Equality operator, which compares two objects to see if they are equal. | |
Inequality | Tests two objects to see if they are not equal. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IPackedVector.PackFromVector4 | Converts a four-component vector into the format for this object. |
Top
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.