mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-20 01:56:34 +00:00
1f554c1093
* Renaming part 1 * Renaming part 2 * Renaming part 3 * Renaming part 4 * Renaming part 5 * Renaming part 6 * Renaming part 7 * Renaming part 8 * Renaming part 9 * Renaming part 10 * General cleanup * Thought I got all of these * Apply #595 * Additional renaming * Tweaks from feedback * Rename files
45 lines
No EOL
1 KiB
C#
45 lines
No EOL
1 KiB
C#
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);
|
|
}
|
|
} |