mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 17:45:26 +00:00
25 lines
615 B
C#
25 lines
615 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Shader.Translation
|
|
{
|
|
public struct TranslationConfig
|
|
{
|
|
public int MaxCBufferSize { get; }
|
|
|
|
public int Version { get; }
|
|
|
|
public TranslationFlags Flags { get; }
|
|
|
|
public TranslationConfig(int maxCBufferSize, int version, TranslationFlags flags)
|
|
{
|
|
if (maxCBufferSize <= 0)
|
|
{
|
|
throw new ArgumentOutOfRangeException(nameof(maxCBufferSize));
|
|
}
|
|
|
|
MaxCBufferSize = maxCBufferSize;
|
|
Version = version;
|
|
Flags = flags;
|
|
}
|
|
}
|
|
} |