Class RefHandle<T>
A class that handles the allocation and disposal of an object. All the different encoders use it.
Implements
Inherited Members
Namespace: Unity.Media
Assembly: solution.dll
Syntax
public class RefHandle<T> : IDisposable where T : class
Type Parameters
Name | Description |
---|---|
T | The type of object that the handle refers to. |
Constructors
Name | Description |
---|---|
RefHandle() | The constructor of the handle. |
RefHandle(T) | The constructor of the handle. |
Properties
Name | Description |
---|---|
IsCreated | Specifies whether the handle has been allocated or not. |
Target | The target object of the handle. |
Methods
Name | Description |
---|---|
Dispose() | Cleans up the handle's resources. |
Dispose(bool) | Cleans up the handle's resources. |
~RefHandle() | The finalizer of the class. |