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