Class Vec4OwnedHandle
public class Vec4OwnedHandle : Vec4Handle, IDisposable, IEquatable<Vec4Handle>
- Inheritance
-
Vec4OwnedHandle
- Implements
- Derived
- Inherited Members
Constructors
Vec4OwnedHandle(IntPtr)
Creates a new instance of Vec4OwnedHandle. Assumes that the given pointer is owned by the runtime.
public Vec4OwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
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(IntPtr ptr)
Parameters
ptr
IntPtrA 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()