mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-26 10:45:27 +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);
|
||
|
}
|
||
|
}
|
||
|
}
|