Switch ID2D1Shader.PixelOptions to a property

このコミットが含まれているのは:
Sergio Pedri committed 2023-09-28 00:12:17 +02:00
1 親 586e3c1f8c
コミット 0bccf6ec57
4ファイル変更
+29 -15

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

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