Class Vec4OwnedHandle
public class Vec4OwnedHandle : Vec4Handle, IDisposable, IEquatable<Vec4Handle>
- Inheritance
-
Vec4OwnedHandle
- Implements
- Derived
- Inherited Members
Constructors
Vec4OwnedHandle(nint)
Creates a new instance of Vec4OwnedHandle. Assumes that the given pointer is owned by the runtime.
public Vec4OwnedHandle(nint ptr)
Parameters
ptr
nint
Methods
FromUnowned(nint)
Create a Vec4OwnedHandle from a pointer that is assumed unowned. To do so a boxed copy is created of the given pointer to be used as the handle.
public static Vec4OwnedHandle FromUnowned(nint ptr)
Parameters
ptr
nintA pointer to a Vec4 which is not owned by the runtime.
Returns
- Vec4OwnedHandle
A Vec4OwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()