mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 03:45:39 +00:00
23 lines
544 B
C#
23 lines
544 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Graphics
|
|
{
|
|
/// <summary>
|
|
/// Defines a common interface to all OpenGL resources.
|
|
/// </summary>
|
|
interface IGraphicsResource : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets the GraphicsContext that owns this resource.
|
|
/// </summary>
|
|
GraphicsContext Context { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the Id of this IGraphicsResource.
|
|
/// </summary>
|
|
int Id { get; }
|
|
}
|
|
}
|