Ryujinx-uplift/Ryujinx.Graphics/Gal/IGalRenderTarget.cs

45 lines
1.0 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);
}
}