Add some missing XML docs

This commit is contained in:
Gabriel A 2024-04-07 17:03:16 -03:00
parent 90fb0cb94a
commit cd05bddcfe
3 changed files with 11 additions and 3 deletions

View file

@ -212,6 +212,11 @@ namespace Ryujinx.Graphics.Gpu.Image
return false;
}
/// <summary>
/// Checks if the pool was modified by comparing the current <seealso cref="ModifiedSequenceNumber"/> with a cached one.
/// </summary>
/// <param name="sequenceNumber">Cached modified sequence number</param>
/// <returns>True if the pool was modified, false otherwise</returns>
public bool WasModified(ref int sequenceNumber)
{
if (sequenceNumber != ModifiedSequenceNumber)

View file

@ -1,8 +1,6 @@
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Gpu.Image;
using Ryujinx.Graphics.Shader;
using Ryujinx.Memory.Range;
using System;
namespace Ryujinx.Graphics.Gpu.Memory
{
@ -11,6 +9,9 @@ namespace Ryujinx.Graphics.Gpu.Memory
/// </summary>
readonly struct BufferTextureArrayBinding<T>
{
/// <summary>
/// Backend texture or image array.
/// </summary>
public T Array { get; }
/// <summary>

View file

@ -11,6 +11,8 @@ namespace Ryujinx.ShaderTools
{
private class GpuAccessor : IGpuAccessor
{
private const int DefaultArrayLength = 32;
private readonly byte[] _data;
private int _texturesCount;
@ -58,7 +60,7 @@ namespace Ryujinx.ShaderTools
public int QueryTextureArrayLengthFromBuffer(int slot)
{
throw new NotImplementedException();
return DefaultArrayLength;
}
}