IGalTexture.cs 429 B

123456789101112131415161718
  1. namespace Ryujinx.Graphics.Gal
  2. {
  3. public interface IGalTexture
  4. {
  5. void LockCache();
  6. void UnlockCache();
  7. void Create(long Key, byte[] Data, GalImage Image);
  8. void CreateFb(long Key, long Size, GalImage Image);
  9. bool TryGetCachedTexture(long Key, long DataSize, out GalImage Image);
  10. void Bind(long Key, int Index);
  11. void SetSampler(GalTextureSampler Sampler);
  12. }
  13. }