Switched swizzling properties to T4 templates

このコミットが含まれているのは:
Sergio Pedri committed 2021-02-24 17:20:54 +01:00
1 親 f9f7b4c626
コミット e49d42abb1
47ファイル変更
+26615 -21775

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

+520
ファイルの表示
@@ -0,0 +1,520 @@
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Bool3"/>
public partial struct Bool3
{
/// <summary>
/// Gets a <see cref="Bool2"/> value with the values <see cref="X"/>, <see cref="X"/>.
/// </summary>
public Bool2 XX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XX)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public Bool2 XY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public Bool2 YX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YX)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YX)}");
}
/// <summary>
/// Gets a <see cref="Bool2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public Bool2 YY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YY)}");
}
/// <summary>
/// Gets a <see cref="Bool2"/> value with the values <see cref="R"/>, <see cref="R"/>.
/// </summary>
public Bool2 RR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RR)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool2"/> value with the values <see cref="R"/>, <see cref="G"/>.
/// </summary>
public Bool2 RG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool2"/> value with the values <see cref="G"/>, <see cref="R"/>.
/// </summary>
public Bool2 GR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}");
}
/// <summary>
/// Gets a <see cref="Bool2"/> value with the values <see cref="G"/>, <see cref="G"/>.
/// </summary>
public Bool2 GG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public Bool3 XXX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public Bool3 XXY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public Bool3 XXZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public Bool3 XYX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public Bool3 XYY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYY)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public Bool3 XYZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public Bool3 XZX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZX)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public Bool3 XZY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZY)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public Bool3 XZZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public Bool3 YXX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public Bool3 YXY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXY)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public Bool3 YXZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public Bool3 YYX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public Bool3 YYY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public Bool3 YYZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYZ)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public Bool3 YZX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZX)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public Bool3 YZY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public Bool3 YZZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public Bool3 ZXX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXX)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public Bool3 ZXY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXY)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public Bool3 ZXZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXZ)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public Bool3 ZYX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYX)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public Bool3 ZYY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public Bool3 ZYZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public Bool3 ZZX
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZX)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public Bool3 ZZY
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZY)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public Bool3 ZZZ
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZZ)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public Bool3 RRR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public Bool3 RRG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public Bool3 RRB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRB)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public Bool3 RGR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public Bool3 RGG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGG)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public Bool3 RGB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public Bool3 RBR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBR)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public Bool3 RBG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBG)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public Bool3 RBB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBB)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public Bool3 GRR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public Bool3 GRG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRG)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public Bool3 GRB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public Bool3 GGR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public Bool3 GGG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public Bool3 GGB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGB)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public Bool3 GBR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBR)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public Bool3 GBG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public Bool3 GBB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBB)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public Bool3 BRR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRR)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public Bool3 BRG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRG)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public Bool3 BRB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRB)}");
}
/// <summary>
/// Gets or sets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public Bool3 BGR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGR)}");
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public Bool3 BGG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public Bool3 BGB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGB)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public Bool3 BBR
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBR)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public Bool3 BBG
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBG)}");
}
/// <summary>
/// Gets a <see cref="Bool3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public Bool3 BBB
{
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBB)}");
}
}
}