aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalTexture.cs
blob: aeecdf1ac50796cabccc5f07d5b56b4ec7f8287e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Ryujinx.Graphics.Gal
{
    public interface IGalTexture
    {
        void LockCache();
        void UnlockCache();

        void Create(long Key, int Size, GalImage Image);

        void Create(long Key, byte[] Data, GalImage Image);

        bool TryGetImage(long Key, out GalImage Image);

        void Bind(long Key, int Index, GalImage Image);

        void SetSampler(GalTextureSampler Sampler);
    }
}