IGalTexture.cs 419 B

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