Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics/Gal/IGalRenderer.cs

18 lines
594 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using System;
namespace Ryujinx.Graphics.Gal
2018-02-04 23:08:20 +00:00
{
public unsafe interface IGalRenderer
2018-02-04 23:08:20 +00:00
{
void QueueAction(Action ActionMthd);
void RunActions();
void InitializeFrameBuffer();
2018-02-04 23:08:20 +00:00
void Render();
void SetWindowSize(int Width, int Height);
void SetFrameBuffer(byte* Fb, int Width, int Height, float SX, float SY, float R);
2018-02-04 23:08:20 +00:00
void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
void BindTexture(int Index);
}
}