Ryujinx/Ryujinx.Graphics/Gal/IGalTexture.cs
2018-08-26 22:07:57 -03:00

16 lines
403 B
C#

namespace Ryujinx.Graphics.Gal
{
public interface IGalTexture
{
void LockCache();
void UnlockCache();
void Create(long Key, byte[] Data, GalImage Image);
void CreateFb(long Key, long Size, GalImage Image);
bool TryGetCachedTexture(long Key, long DataSize, out GalImage Image);
void Bind(long Key, int Index, GalTextureSampler Sampler);
}
}