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. }