IGalTexture.cs 435 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(GalImage image, GalTextureSampler sampler);
  12. }
  13. }