0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-01-10 19:01:57 +00:00
ryujinx-fork/Ryujinx.Graphics/Gal/IGalShader.cs

20 lines
499 B
C#
Raw Normal View History

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();
}
}