aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalConstBuffer.cs
blob: 8c4e6d032896096d5bff25ad507930a621ea2bc1 (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);
    }
}