0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 17:05:45 +00:00
ryujinx-fork/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);
}
}