Merge pull request #866 from Sergio0694/dev/fix-SampleInputAtOffset-docs

Fix XML remarks for 'D2D.SampleInputAtOffset'
このコミットが含まれているのは:
Sergio Pedri authored and GitHub committed 2024-11-08 16:14:31 -08:00
コミット 973dfc936a
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -52,7 +52,7 @@ public static class D2D
/// <param name="index">The index of the input texture to sample.</param>
/// <param name="offset">The normalized offset to use to sample the texture.</param>
/// <returns>The sampled value from the texture, in <c>TEXCOORDN</c> format.</returns>
/// <remarks>This method is only available for simple inputs.</remarks>
/// <remarks>This method is only available for complex inputs.</remarks>
[HlslIntrinsicName("D2DSampleInputAtOffset")]
public static Float4 SampleInputAtOffset(int index, Float2 offset) => throw new InvalidExecutionContextException($"{typeof(D2D)}.{nameof(SampleInputAtOffset)}({typeof(int)}, {typeof(Float2)})");