aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalTexture.cs
blob: 292f59efa19e27d3877acbb2b38317b84fd625a1 (plain)
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, byte[] Data, GalImage Image);

        void CreateFb(long Key, long Size, GalImage Image);

        bool TryGetCachedTexture(long Key, long DataSize, out GalImage Image);

        void Bind(long Key, int Index);

        void SetSampler(GalTextureSampler Sampler);
    }
}