IGalShader.cs 499 B

1234567891011121314151617181920
  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. void Create(IGalMemory Memory, long VpAPos, long Key, GalShaderType Type);
  8. IEnumerable<ShaderDeclInfo> GetConstBufferUsage(long Key);
  9. IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
  10. void Bind(long Key);
  11. void Unbind(GalShaderType Type);
  12. void BindProgram();
  13. }
  14. }