mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:25:39 +00:00
18 lines
336 B
C#
18 lines
336 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace OpenTK
|
|||
|
{
|
|||
|
interface IPoolable : IDisposable
|
|||
|
{
|
|||
|
void OnAcquire();
|
|||
|
void OnRelease();
|
|||
|
}
|
|||
|
|
|||
|
interface IPoolable<T> : IPoolable where T : IPoolable<T>, new()
|
|||
|
{
|
|||
|
ObjectPool<T> Owner { get; set; }
|
|||
|
}
|
|||
|
}
|