MonoMac.OpenGL.Half Members

The members of MonoMac.OpenGL.Half are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

The new Half instance will convert the parameter into 16-bit half-precision floating-point.
The new Half instance will convert the parameter into 16-bit half-precision floating-point.
The new Half instance will convert the parameter into 16-bit half-precision floating-point.
Constructor used by ISerializable to deserialize the object.
The new Half instance will convert the parameter into 16-bit half-precision floating-point.

Public Fields

static readonly
Epsilonfloat. Smallest positive e for which half (1.0 + e) != half (1.0)
static readonly
MaxValuefloat. Largest positive half
static readonly
MinNormalizedValuefloat. Smallest positive normalized half
static readonly
MinValuefloat. Smallest positive half
static readonly
SizeInBytesint. The size in bytes for an instance of the Half struct.

Public Properties

[read-only]
IsNaNbool. Returns true if the Half represents Not A Number (NaN)
[read-only]
IsNegativeInfinitybool. Returns true if the Half represents negative infinity.
[read-only]
IsPositiveInfinitybool. Returns true if the Half represents positive infinity.
[read-only]
IsZerobool. Returns true if the Half is zero.

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
FromBytes(byte[], int) : Half
Converts an array of bytes into Half.
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.
static
Parse(string) : Half
Converts the string representation of a number to a half-precision floating-point equivalent.
static
Parse(string, System.Globalization.NumberStyles, IFormatProvider) : Half
Converts the string representation of a number to a half-precision floating-point equivalent.
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.

Public Operators

static
Conversion to MonoMac.OpenGL.Half(Explicit) Converts a System.Double to a OpenTK.Half.
static
Conversion to MonoMac.OpenGL.Half(Explicit) Converts a System.Single to a OpenTK.Half.
static
Conversion to System.Double(Implicit) Converts a OpenTK.Half to a System.Double.
static
Conversion to System.Single(Implicit) Converts a OpenTK.Half to a System.Single.