aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalRenderer.cs
blob: 1870aca5b741662587d3a6238b98b304d6e229d7 (plain)
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 IGalRenderer
    {
        long FrameBufferPtr { get; set; }

        void QueueAction(Action ActionMthd);
        void RunActions();

        void Render();
        void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
        void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
        void BindTexture(int Index);
    }
}