IGalRasterizer.cs 678 B

1234567891011121314151617181920212223
  1. namespace Ryujinx.Graphics.Gal
  2. {
  3. public interface IGalRasterizer
  4. {
  5. void ClearBuffers(int RtIndex, GalClearBufferFlags Flags);
  6. bool IsVboCached(long Key, long DataSize);
  7. bool IsIboCached(long Key, long DataSize);
  8. void CreateVbo(long Key, byte[] Buffer);
  9. void CreateIbo(long Key, byte[] Buffer);
  10. void SetVertexArray(int VbIndex, int Stride, long VboKey, GalVertexAttrib[] Attribs);
  11. void SetIndexArray(long Key, int Size, GalIndexFormat Format);
  12. void DrawArrays(int First, int PrimCount, GalPrimitiveType PrimType);
  13. void DrawElements(long IboKey, int First, GalPrimitiveType PrimType);
  14. }
  15. }