2018-06-23 17:39:25 -07:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
{
|
|
|
|
public interface IGalTexture
|
|
|
|
{
|
2018-07-09 19:01:59 -07:00
|
|
|
void LockCache();
|
|
|
|
void UnlockCache();
|
|
|
|
|
2018-09-17 21:30:35 -07:00
|
|
|
void Create(long Key, int Size, GalImage Image);
|
2018-06-23 17:39:25 -07:00
|
|
|
|
2018-09-17 21:30:35 -07:00
|
|
|
void Create(long Key, byte[] Data, GalImage Image);
|
2018-08-19 18:25:26 -07:00
|
|
|
|
2018-09-17 21:30:35 -07:00
|
|
|
bool TryGetImage(long Key, out GalImage Image);
|
2018-06-23 17:39:25 -07:00
|
|
|
|
2018-09-17 21:30:35 -07:00
|
|
|
void Bind(long Key, int Index, GalImage Image);
|
2018-06-23 17:39:25 -07:00
|
|
|
|
|
|
|
void SetSampler(GalTextureSampler Sampler);
|
|
|
|
}
|
|
|
|
}
|