2018-06-24 02:39:25 +02:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
{
|
|
|
|
public interface IGalTexture
|
|
|
|
{
|
2018-07-10 04:01:59 +02:00
|
|
|
void LockCache();
|
|
|
|
void UnlockCache();
|
|
|
|
|
2018-06-24 02:39:25 +02:00
|
|
|
void Create(long Key, byte[] Data, GalTexture Texture);
|
|
|
|
|
|
|
|
bool TryGetCachedTexture(long Key, long DataSize, out GalTexture Texture);
|
|
|
|
|
|
|
|
void Bind(long Key, int Index);
|
|
|
|
|
|
|
|
void SetSampler(GalTextureSampler Sampler);
|
|
|
|
}
|
|
|
|
}
|