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