Switch ID2D1Shader.InputCount to a property

このコミットが含まれているのは:
Sergio Pedri committed 2023-09-28 00:55:28 +02:00
1 親 0780345ef9
コミット 32ceaf3def
4ファイル変更
+17 -20

検索条件に一致するファイルはありません

+1 -2
ファイルの表示
@@ -71,10 +71,9 @@ public interface ID2D1Shader
/// <summary>
/// Gets the number of inputs for the current shader.
/// </summary>
/// <returns>The number of inputs for the current shader.</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is not intended to be used directly by user code")]
uint GetInputCount();
int InputCount { get; }
/// <summary>
/// Gets the input types for the current shader.
+1 -1
ファイルの表示
@@ -255,7 +255,7 @@ public static class D2D1PixelShader
{
Unsafe.SkipInit(out T shader);
return (int)shader.GetInputCount();
return shader.InputCount;
}
/// <summary>