OpenTK.Vector2h Members

The members of OpenTK.Vector2h are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Documentation for this section has not yet been entered.
The new Half2 instance will convert the Vector2 into 16-Bit Half precision floating point.
The new Half2 instance will convert the Vector2 into 16-Bit Half precision floating point. This is the fastest constructor.
The new Half2 instance will convert the Vector2d into 16-Bit Half precision floating point.
The new Half2 instance will convert the Vector2d into 16-Bit Half precision floating point. This is the faster constructor.
Documentation for this section has not yet been entered.
The new Half2 instance will avoid conversion and copy directly from the Half parameters.
The new Half2 instance will convert the Vector2 into 16-Bit Half precision floating point.
The new Half2 instance will convert the Vector2 into 16-Bit Half precision floating point.
The new Half2 instance will convert the Vector2d into 16-Bit Half precision floating point.
The new Half2 instance will convert the Vector2d into 16-Bit Half precision floating point.
Constructor used by ISerializable to deserialize the object.
The new Half2 instance will convert the 2 parameters into 16-Bit Half precision floating point.
The new Half2 instance will convert the 2 parameters into 16-Bit Half precision floating point.

Public Fields

static readonly
SizeInBytesint. The size in bytes for an instance of the Half2 struct is 4.
XHalf. The X component of the Half2.
YHalf. The Y component of the Half2.

Public Methods

Equals(Vector2h) : bool
Returns a value indicating whether this instance is equal to a specified OpenTK.Half2 vector.
FromBinaryStream(System.IO.BinaryReader)
Updates the X and Y components of this instance by reading from a Stream.
static
GetBytes(Vector2h) : byte[]
Returns the Half2 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 X and Y components of this instance into a Stream.
override
ToString() : string
Returns a string that contains this Half2's numbers in human-legible form.