aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalShader.cs
blob: 4b951fa611529d802075dbe04d4648f5fc62f371 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Collections.Generic;

namespace Ryujinx.Graphics.Gal
{
    public interface IGalShader
    {
        void Create(IGalMemory Memory, long Key, GalShaderType Type);

        void Create(IGalMemory Memory, long VpAPos, long Key, GalShaderType Type);

        IEnumerable<ShaderDeclInfo> GetConstBufferUsage(long Key);
        IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);

        void Bind(long Key);

        void Unbind(GalShaderType Type);

        void BindProgram();
    }
}