1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-24 07:22:02 +00:00
Ryujinx/Ryujinx.Graphics/Gal/IGalRenderer.cs

30 lines
770 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();
void ResetFrameBuffer();
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 ScaleX,
float ScaleY,
float OffsX,
float OffsY,
float Rotate);
2018-02-04 23:08:20 +00:00
void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
2018-02-04 23:08:20 +00:00
void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
2018-02-04 23:08:20 +00:00
void BindTexture(int Index);
}
}