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