aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/ShaderProgramInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Shader/ShaderProgramInfo.cs')
-rw-r--r--Ryujinx.Graphics/Shader/ShaderProgramInfo.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Shader/ShaderProgramInfo.cs b/Ryujinx.Graphics/Shader/ShaderProgramInfo.cs
new file mode 100644
index 00000000..c529a353
--- /dev/null
+++ b/Ryujinx.Graphics/Shader/ShaderProgramInfo.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.ObjectModel;
+
+namespace Ryujinx.Graphics.Shader
+{
+ public class ShaderProgramInfo
+ {
+ public ReadOnlyCollection<CBufferDescriptor> CBuffers { get; }
+ public ReadOnlyCollection<TextureDescriptor> Textures { get; }
+
+ internal ShaderProgramInfo(CBufferDescriptor[] cBuffers, TextureDescriptor[] textures)
+ {
+ CBuffers = Array.AsReadOnly(cBuffers);
+ Textures = Array.AsReadOnly(textures);
+ }
+ }
+} \ No newline at end of file