aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalConstBuffer.cs
blob: 0cdcc2371f5ea883ef26cf7995eaf13b49bd40c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace Ryujinx.Graphics.Gal
{
    public interface IGalConstBuffer
    {
        void LockCache();
        void UnlockCache();

        void Create(long Key, long Size);

        bool IsCached(long Key, long Size);

        void SetData(long Key, long Size, IntPtr HostAddress);
        void SetData(long Key, byte[] Data);
    }
}