Switched swizzling properties to T4 templates
このコミットが含まれているのは:
1 親
f9f7b4c626
コミット
e49d42abb1
47ファイル変更
+26615
-21775
検索条件に一致するファイルはありません
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 2)]
|
||||
public struct Int2
|
||||
public partial struct Int2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with all components set to 0.
|
||||
@@ -80,62 +80,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする