Export (0) Print
Expand All

Bgra4444 Structure

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)

public struct Bgra4444 : IPackedVector<ushort>, 
	IPackedVector

The Bgra4444 type exposes the following members.

  NameDescription
Public methodBgra4444(Vector4)Creates an instance of this object.
Public methodBgra4444(Single, Single, Single, Single)Creates an instance of this object.
Top

  NameDescription
Public propertyPackedValueGets or sets the packed representation of the vector.
Top

  NameDescription
Public methodEquals(Object)Tests an object to see if it is equal to this object. (Overrides ValueType.Equals(Object).)
Public methodEquals(Bgra4444)Tests an object to see if it is equal to this object.
Public methodGetHashCodeGets the hash code for this object. (Overrides ValueType.GetHashCode().)
Public methodToStringReturns a string representation. (Overrides ValueType.ToString().)
Public methodToVector4Unpacks this object to a four-component vector.
Top

  NameDescription
Public operatorStatic memberEqualityEquality operator, which compares two objects to see if they are equal.
Public operatorStatic memberInequalityTests two objects to see if they are not equal.
Top

  NameDescription
Explicit interface implemetationPrivate methodIPackedVector.PackFromVector4Converts a four-component vector into the format for this object.
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft