mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 19:56:45 +00:00
5fe0bc584b
* Directly send host address to buffer data * Cleanup OGLShader * Directly copy vertex and index data too * Revert shader bind "cache" * Address feedback
26 lines
No EOL
638 B
C#
26 lines
No EOL
638 B
C#
using System;
|
|
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> GetTextureUsage(long Key);
|
|
|
|
void SetConstBuffer(long Key, int Cbuf, int DataSize, IntPtr HostAddress);
|
|
|
|
void EnsureTextureBinding(string UniformName, int Value);
|
|
|
|
void SetFlip(float X, float Y);
|
|
|
|
void Bind(long Key);
|
|
|
|
void Unbind(GalShaderType Type);
|
|
|
|
void BindProgram();
|
|
}
|
|
} |