Mac Guides | Samples

MonoMac.OpenGL.Half Constructor

The new Half instance will convert the parameter into 16-bit half-precision floating-point.

Syntax

public Half (Double d, Boolean throwOnError)

Parameters

d
64-bit double-precision floating-point number.
throwOnError
Enable checks that will throw if the conversion result is not meaningful.

Requirements

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