IGalShader.cs 580 B

1234567891011121314151617181920212223
  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> GetConstBufferUsage(long Key);
  10. IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
  11. void EnsureTextureBinding(string UniformName, int Value);
  12. void Bind(long Key);
  13. void Unbind(GalShaderType Type);
  14. void BindProgram();
  15. }
  16. }