Modifica

Condividi tramite


Half.Implicit Operator

Definition

Overloads

Implicit(Half to Double)

Converts a OpenTK.Half to a System.Double.

Implicit(Half to Single)

Converts a OpenTK.Half to a System.Single.

Implicit(Half to Double)

Converts a OpenTK.Half to a System.Double.

public static implicit operator double (OpenTK.Half h);
static member op_Implicit : OpenTK.Half -> double

Parameters

h
Half

The value to convert. A Half

Returns

The result of the conversion. A T:System.Double

Applies to

Implicit(Half to Single)

Converts a OpenTK.Half to a System.Single.

public static implicit operator float (OpenTK.Half h);
static member op_Implicit : OpenTK.Half -> single

Parameters

h
Half

The value to convert. A Half

Returns

The result of the conversion. A T:System.Single

Applies to