MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Misc.Ref< T > Class Template Reference

A reference to a C object. This is sometimes used to return optional references, since ref can't be nullable. Or to return references from operators, since those can't return refs. This object itself isn't nullable, we return Ref<T>? when nullability is needed. More...

Static Public Member Functions

static implicit operator T (Ref< T > wrapper)
 

Properties

ref T Value [get]
 

Detailed Description

A reference to a C object. This is sometimes used to return optional references, since ref can't be nullable. Or to return references from operators, since those can't return refs. This object itself isn't nullable, we return Ref<T>? when nullability is needed.

Type Constraints
T :unmanaged 

The documentation for this class was generated from the following file: