mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 19:45:13 +00:00
20 lines
No EOL
499 B
C#
20 lines
No EOL
499 B
C#
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();
|
|
}
|
|
} |