Mac Guides | Samples

MonoMac.OpenGL.Half.op_Explicit Method

Converts a System.Single to a OpenTK.Half.

Syntax

public static explicit operator Half (Single f)

Parameters

f
The value to convert. A Single

Returns

The result of the conversion. A Half

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0