IGalShader.cs 513 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.Graphics.Gal
  4. {
  5. public interface IGalShader
  6. {
  7. void Create(IGalMemory Memory, long Key, GalShaderType Type);
  8. void Create(IGalMemory Memory, long VpAPos, long Key, GalShaderType Type);
  9. IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
  10. void EnsureTextureBinding(string UniformName, int Value);
  11. void Bind(long Key);
  12. void Unbind(GalShaderType Type);
  13. void BindProgram();
  14. }
  15. }