aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Shader/ResourceCounts.cs
blob: 59ab378cf8fa26dce47ee8ba84e83d4d97d15e24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Ryujinx.Graphics.Gpu.Shader
{
    /// <summary>
    /// Holds counts for the resources used by a shader.
    /// </summary>
    class ResourceCounts
    {
        /// <summary>
        /// Total of uniform buffers used by the shaders.
        /// </summary>
        public int UniformBuffersCount;

        /// <summary>
        /// Total of storage buffers used by the shaders.
        /// </summary>
        public int StorageBuffersCount;

        /// <summary>
        /// Total of textures used by the shaders.
        /// </summary>
        public int TexturesCount;

        /// <summary>
        /// Total of images used by the shaders.
        /// </summary>
        public int ImagesCount;

        /// <summary>
        /// Total of extra sets used by the shaders.
        /// </summary>
        public int SetsCount;
    }
}