mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-27 13:22:02 +00:00
17 lines
497 B
C#
17 lines
497 B
C#
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|