IGalShader.cs 536 B

123456789101112131415161718192021
  1. using Ryujinx.Graphics.Shader;
  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<CBufferDescriptor> GetConstBufferUsage(long key);
  10. IEnumerable<TextureDescriptor> GetTextureUsage(long key);
  11. void Bind(long key);
  12. void Unbind(GalShaderType type);
  13. void BindProgram();
  14. }
  15. }