OpenTK.Half: Method Members

The methods of OpenTK.Half are listed below. For a list of all members, see the Half Members list.

See Also: Inherited members from System.ValueType

Public Methods

CompareTo(Half) : int
Compares this instance to a specified half-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified half-precision floating-point number.
Equals(Half) : bool
Returns a value indicating whether this instance is equal to a specified OpenTK.Half value.
FromBinaryStream(System.IO.BinaryReader)
Updates the Half by reading from a Stream.
static
GetBytes(Half) : byte[]
Returns the Half as an array of bytes.
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Used by ISerialize to serialize the object.
ToBinaryStream(System.IO.BinaryWriter)
Writes the Half into a Stream.
ToSingle() : float
Converts the 16-Bit half to 32-Bit floating point.
override
ToString() : string
Converts this Half into a human-legible string representation.
ToString(string, IFormatProvider) : string
Converts this Half into a human-legible string representation.
static
TryParse(string, out Half) : bool
Converts the string representation of a number to a Half precision floating point equivalent. Returns success.
static
TryParse(string, System.Globalization.NumberStyles, IFormatProvider, out Half) : bool
Converts the string representation of a number to a Half precision floating point equivalent. Returns success.