Class DmabufTextureClassOwnedHandle
public class DmabufTextureClassOwnedHandle : DmabufTextureClassHandle, IDisposable
- Inheritance
-
DmabufTextureClassOwnedHandle
- Implements
- Inherited Members
Constructors
DmabufTextureClassOwnedHandle(IntPtr)
Creates a new instance of DmabufTextureClassOwnedHandle. Assumes that the given pointer is owned by the runtime.
public DmabufTextureClassOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a DmabufTextureClassOwnedHandle from a pointer that is assumed unowned.
public static DmabufTextureClassOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a DmabufTextureClass which is not owned by the runtime.
Returns
- DmabufTextureClassOwnedHandle
A DmabufTextureClassOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()