mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-23 10:35:10 +00:00
17 lines
458 B
C#
17 lines
458 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Shader.Translation
|
|
{
|
|
public struct TranslatorCallbacks
|
|
{
|
|
internal Func<QueryInfoName, int, int> QueryInfo { get; }
|
|
|
|
internal Action<string> PrintLog { get; }
|
|
|
|
public TranslatorCallbacks(Func<QueryInfoName, int, int> queryInfoCallback, Action<string> printLogCallback)
|
|
{
|
|
QueryInfo = queryInfoCallback;
|
|
PrintLog = printLogCallback;
|
|
}
|
|
}
|
|
}
|