IGalShader.cs 477 B

123456789101112131415161718192021
  1. using System.Collections.Generic;
  2. namespace Ryujinx.Graphics.Gal
  3. {
  4. public interface IGalShader
  5. {
  6. void Create(IGalMemory Memory, long Key, GalShaderType Type);
  7. IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
  8. void SetConstBuffer(long Key, int Cbuf, byte[] Data);
  9. void EnsureTextureBinding(string UniformName, int Value);
  10. void SetFlip(float X, float Y);
  11. void Bind(long Key);
  12. void BindProgram();
  13. }
  14. }