mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 07:06:41 +00:00
30 lines
No EOL
770 B
C#
30 lines
No EOL
770 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public unsafe interface IGalRenderer
|
|
{
|
|
void QueueAction(Action ActionMthd);
|
|
void RunActions();
|
|
|
|
void InitializeFrameBuffer();
|
|
void ResetFrameBuffer();
|
|
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);
|
|
|
|
void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
|
|
|
|
void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
|
|
|
|
void BindTexture(int Index);
|
|
}
|
|
} |