forked from Misaki/GhostEngine
Migrate rendering from oop to dod
This commit is contained in:
@@ -44,16 +44,4 @@ public interface IResourceAllocator
|
||||
/// </summary>
|
||||
/// <param name="handle">Resource handle</param>
|
||||
public void ReleaseResource(ResourceHandle handle);
|
||||
}
|
||||
|
||||
internal interface IResourceAllocator<T> : IResourceAllocator
|
||||
where T : unmanaged
|
||||
{
|
||||
/// <summary>
|
||||
/// Get the raw gpu resource pointer from a resource handle
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of the resource.</typeparam>
|
||||
/// <param name="handle">Resource handle</param>
|
||||
/// <returns>Pointer to the resource</returns>
|
||||
public unsafe T* GetResource(ResourceHandle handle);
|
||||
}
|
||||
Reference in New Issue
Block a user