IGalRasterizer.cs 810 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. namespace Ryujinx.Graphics.Gal
  3. {
  4. public interface IGalRasterizer
  5. {
  6. void LockCaches();
  7. void UnlockCaches();
  8. void ClearBuffers(
  9. GalClearBufferFlags Flags,
  10. float Red, float Green, float Blue, float Alpha,
  11. float Depth,
  12. int Stencil);
  13. bool IsVboCached(long Key, long DataSize);
  14. bool IsIboCached(long Key, long DataSize);
  15. void CreateVbo(long Key, int DataSize, IntPtr HostAddress);
  16. void CreateIbo(long Key, int DataSize, IntPtr HostAddress);
  17. void SetIndexArray(int Size, GalIndexFormat Format);
  18. void DrawArrays(int First, int PrimCount, GalPrimitiveType PrimType);
  19. void DrawElements(long IboKey, int First, int VertexBase, GalPrimitiveType PrimType);
  20. }
  21. }