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