aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalTexture.cs
blob: 23ce054ae997c3b0d7258d3d912b48f534d792a4 (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(GalImage image, GalTextureSampler sampler);
    }
}