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

        void Create(long Key, byte[] Data, GalTexture Texture);

        bool TryGetCachedTexture(long Key, long DataSize, out GalTexture Texture);

        void Bind(long Key, int Index);

        void SetSampler(GalTextureSampler Sampler);
    }
}