Generate input types as ReadOnlyMemory<T>

このコミットが含まれているのは:
Sergio Pedri committed 2023-09-27 20:54:11 +02:00
1 親 077504566e
コミット a6b87b551c
8ファイル変更
+268 -51

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

+4 -5
ファイルの表示
@@ -1,6 +1,7 @@
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using ComputeSharp.D2D1.Interop;
namespace ComputeSharp.D2D1.__Internals;
@@ -77,14 +78,12 @@ public interface ID2D1Shader
uint GetInputCount();
/// <summary>
/// Gets the input type for the input at the input index.
/// Gets the input types for the current shader.
/// </summary>
/// <param name="index">The index of the shader input to get the type for.</param>
/// <returns>The type of input at the specified index.</returns>
/// <remarks>The return value if the input is out of range is undefined.</remarks>
/// <returns>The input types for the current shader.</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is not intended to be used directly by user code")]
uint GetInputType(uint index);
ReadOnlyMemory<D2D1PixelShaderInputType> InputTypes { get; }
/// <summary>
/// Loads the input descriptions for the shader, if any.