Rename two files to match the type names
このコミットが含まれているのは:
1 親
35e5bd90a3
コミット
d509767d45
2ファイル変更
検索条件に一致するファイルはありません
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
|
||||
namespace ComputeSharp.D2D1;
|
||||
|
||||
/// <summary>
|
||||
/// An attribute for a D2D1 shader indicating the pixel options to use.
|
||||
/// Using this attribute is optional when defining a D2D1 shader.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For more info, see <see href="https://docs.microsoft.com/windows/win32/api/d2d1effectauthor/ne-d2d1effectauthor-d2d1_pixel_options"/>.
|
||||
/// </remarks>
|
||||
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
|
||||
public sealed class D2DPixelOptionsAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new instance of the <see cref="D2DPixelOptionsAttribute"/> type with the specified arguments.
|
||||
/// </summary>
|
||||
/// <param name="options">The options to specify for the shader.</param>
|
||||
public D2DPixelOptionsAttribute(D2D1PixelOptions options)
|
||||
{
|
||||
Options = options;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the options to specify for the shader.
|
||||
/// </summary>
|
||||
public D2D1PixelOptions Options { get; }
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする