mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
18 lines
458 B
C#
18 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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|