0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-23 17:25:48 +00:00
Ryujinx/Ryujinx.Graphics/Gal/IGalRenderTarget.cs
Alex Barney 1f554c1093 Do naming refactoring on Ryujinx.Graphics (#611)
* 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
2019-03-04 12:45:25 +11:00

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);
}
}