1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 09:16:42 +00:00
Ryujinx/Ryujinx.Graphics/Gal/IGalRenderTarget.cs

45 lines
1 KiB
C#
Raw Normal View History

namespace Ryujinx.Graphics.Gal
{
public interface IGalRenderTarget
{
void Bind();
void BindColor(long key, int attachment);
void UnbindColor(int attachment);
void BindZeta(long key);
void UnbindZeta();
void Present(long key);
void SetMap(int[] map);
void SetTransform(bool flipX, bool flipY, int top, int left, int right, int bottom);
void SetWindowSize(int width, int height);
void SetViewport(int attachment, int x, int y, int width, int height);
void Render();
void Copy(
GalImage srcImage,
GalImage dstImage,
long srcKey,
long dstKey,
int srcLayer,
int dstLayer,
int srcX0,
int srcY0,
int srcX1,
int srcY1,
int dstX0,
int dstY0,
int dstX1,
int dstY1);
void Reinterpret(long key, GalImage newImage);
}
}