aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalTexture.cs
blob: 6379e73af4e3c0471a5723f97c5edaf406914b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
namespace Ryujinx.Graphics.Gal
{
    public interface IGalTexture
    {
        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);
    }
}