mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-11 09:22:00 +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);
|
||
|
}
|
||
|
}
|
||
|
}
|