mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 16:15:47 +00:00
21 lines
477 B
C#
21 lines
477 B
C#
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Ryujinx.Graphics.Gal
|
||
|
{
|
||
|
public interface IGalShader
|
||
|
{
|
||
|
void Create(IGalMemory Memory, long Key, GalShaderType Type);
|
||
|
|
||
|
IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
|
||
|
|
||
|
void SetConstBuffer(long Key, int Cbuf, byte[] Data);
|
||
|
|
||
|
void EnsureTextureBinding(string UniformName, int Value);
|
||
|
|
||
|
void SetFlip(float X, float Y);
|
||
|
|
||
|
void Bind(long Key);
|
||
|
|
||
|
void BindProgram();
|
||
|
}
|
||
|
}
|