namespace Ryujinx.Graphics.Gpu.Shader { /// /// Holds counts for the resources used by a shader. /// class ResourceCounts { /// /// Total of uniform buffers used by the shaders. /// public int UniformBuffersCount; /// /// Total of storage buffers used by the shaders. /// public int StorageBuffersCount; /// /// Total of textures used by the shaders. /// public int TexturesCount; /// /// Total of images used by the shaders. /// public int ImagesCount; /// /// Creates a new instance of the shader resource counts class. /// public ResourceCounts() { UniformBuffersCount = 1; // The first binding is reserved for the support buffer. } } }