Switched swizzling properties to T4 templates
このコミットが含まれているのは:
1 親
f9f7b4c626
コミット
e49d42abb1
47ファイル変更
+26615
-21775
検索条件に一致するファイルはありません
@@ -7,4 +7,157 @@
|
||||
<Description>ComputeSharp.Core</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="Primitives\Bool\Bool2.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Bool2.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Bool\Bool3.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Bool3.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Bool\Bool4.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Bool4.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Double\Double2.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Double2.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Double\Double3.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Double3.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Double\Double4.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Double4.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Float\Float2.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Float2.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Float\Float3.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Float3.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Float\Float4.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Float4.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Int\Int2.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Int2.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Int\Int3.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Int3.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\Int\Int4.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Int4.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\UInt\UInt2.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>UInt2.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\UInt\UInt3.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>UInt3.tt</DependentUpon>
|
||||
</None>
|
||||
<None Include="Primitives\UInt\UInt4.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>UInt4.tt</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Primitives\Float\Float2.g.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Float2.tt</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Primitives\Bool\Bool2.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Bool2.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Bool\Bool3.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Bool3.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Bool\Bool4.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Bool4.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Double\Double2.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Double2.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Double\Double3.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Double3.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Double\Double4.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Double4.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Float\Float2.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Float2.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Float\Float3.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Float3.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Float\Float4.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Float4.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Int\Int2.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Int2.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Int\Int3.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Int3.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\Int\Int4.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>Int4.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\UInt\UInt2.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>UInt2.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\UInt\UInt3.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>UInt3.g.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="Primitives\UInt\UInt4.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>UInt4.g.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y})")]
|
||||
[StructLayout(LayoutKind.Explicit, Size = sizeof(int) * 2)]
|
||||
public struct Bool2
|
||||
public partial struct Bool2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with all components set to <see langword="false"/>.
|
||||
@@ -94,62 +94,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 XX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Bool2"/>
|
||||
public partial struct Bool2
|
||||
{
|
||||
/// <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(Bool2)}.{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(Bool2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{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(Bool2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{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(Bool2)}.{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(Bool2)}.{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(Bool2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{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(Bool2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{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(Bool2)}.{nameof(GG)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Bool2");
|
||||
#>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z})")]
|
||||
[StructLayout(LayoutKind.Explicit, Size = sizeof(int) * 3)]
|
||||
public struct Bool3
|
||||
public partial struct Bool3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with all components set to <see langword="false"/>.
|
||||
@@ -122,462 +122,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 XX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool2 XZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool2 YZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool2 ZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool2 ZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool2 RB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool2 GB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool2 BR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool2"/> value with the <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool2 BG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool2"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool3 XXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 XZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool3 YYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 YZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Bool3 ZZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool3 RRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 RBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool3 GGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 GBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Bool3 BBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Bool3"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Bool3 BBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -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)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Bool3");
|
||||
#>
|
||||
ファイル差分が大きすぎるため表示されません。
差分を読み込み
ファイル差分が大きすぎるため表示されません。
差分を読み込み
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Bool4");
|
||||
#>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(double) * 2)]
|
||||
public struct Double2
|
||||
public partial struct Double2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with all components set to 0.
|
||||
@@ -80,62 +80,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 XX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Double2"/>
|
||||
public partial struct Double2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GG)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Double2");
|
||||
#>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(double) * 3)]
|
||||
public struct Double3
|
||||
public partial struct Double3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with all components set to 0.
|
||||
@@ -101,462 +101,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 XX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double2 XZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double2 YZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double2 ZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double2 ZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double2 RB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double2 GB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double2 BR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double2"/> value with the <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double2 BG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double2"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Double3 XXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 XXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 XXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 XYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 XYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 XZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 XZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 YXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 YXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 YYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Double3 YYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 YYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 YZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 YZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Double3 ZZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Double3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Double3 RRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 RRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 RRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 RGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 RGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 RBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 RBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 GRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 GRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 GGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Double3 GGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 GGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 GBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 GBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 BRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 BRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 BGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Double3 BGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Double3 BBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Double3 BBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Double3"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Double3 BBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,520 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Double3"/>
|
||||
public partial struct Double3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 XXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 XXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 XXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 XYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 XYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 XZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 XZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 YXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 YXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 YYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 YYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 YYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 YZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 YZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 ZXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 ZXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 ZYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 ZYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Double3 ZZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Double3 ZZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Double3 ZZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 RRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 RRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 RRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 RGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 RGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 RBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 RBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 GRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 GRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 GGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 GGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 GGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 GBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 GBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 BRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 BRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 BGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 BGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Double3 BBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Double3 BBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Double3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Double3 BBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBB)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Double3");
|
||||
#>
|
||||
ファイル差分が大きすぎるため表示されません。
差分を読み込み
ファイル差分が大きすぎるため表示されません。
差分を読み込み
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Double4");
|
||||
#>
|
||||
@@ -10,7 +10,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(float) * 2)]
|
||||
public struct Float2
|
||||
public partial struct Float2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with all components set to 0.
|
||||
@@ -81,62 +81,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 XX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Float2"/>
|
||||
public partial struct Float2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GG)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Float2");
|
||||
#>
|
||||
@@ -10,7 +10,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(float) * 3)]
|
||||
public struct Float3
|
||||
public partial struct Float3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with all components set to 0.
|
||||
@@ -102,462 +102,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 XX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float2 XZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float2 YZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float2 ZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float2 ZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float2 RB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float2 GB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float2 BR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float2"/> value with the <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float2 BG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float2"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Float3 XXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 XXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 XXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 XYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 XYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 XZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 XZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 YXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 YXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 YYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Float3 YYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 YYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 YZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 YZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Float3 ZZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Float3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Float3 RRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 RRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 RRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 RGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 RGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 RBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 RBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 GRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 GRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 GGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Float3 GGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 GGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 GBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 GBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 BRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 BRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 BGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Float3 BGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Float3 BBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Float3 BBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Float3"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Float3 BBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,520 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Float3"/>
|
||||
public partial struct Float3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 XXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 XXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 XXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 XYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 XYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 XZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 XZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 YXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 YXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 YYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 YYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 YYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 YZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 YZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 ZXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 ZXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 ZYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 ZYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Float3 ZZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Float3 ZZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Float3 ZZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 RRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 RRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 RRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 RGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 RGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 RBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 RBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 GRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 GRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 GGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 GGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 GGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 GBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 GBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 BRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 BRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 BGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 BGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Float3 BBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Float3 BBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Float3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Float3 BBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBB)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Float3");
|
||||
#>
|
||||
ファイル差分が大きすぎるため表示されません。
差分を読み込み
ファイル差分が大きすぎるため表示されません。
差分を読み込み
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Float4");
|
||||
#>
|
||||
@@ -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>
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Int2"/>
|
||||
public partial struct Int2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GG)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Int2");
|
||||
#>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 3)]
|
||||
public struct Int3
|
||||
public partial struct Int3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with all components set to 0.
|
||||
@@ -101,462 +101,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}[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(Int3)}.{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(Int3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int2 XZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{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(Int3)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int2 YZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int2 ZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int2 ZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{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(Int3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int2 RB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{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(Int3)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int2 GB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int2 BR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int2"/> value with the <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int2 BG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int2"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public Int3 XXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 XXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 XYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 XYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 XZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 YXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 YXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 YYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public Int3 YYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 YZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public Int3 ZZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public Int3 RRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 RGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="Int3"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,520 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="Int3"/>
|
||||
public partial struct Int3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 XXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 XXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 XXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 XYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 XYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 XZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 XZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 YXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 YXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 YYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 YYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 YYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 YZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 YZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 ZXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 ZXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 ZYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 ZYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public Int3 ZZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public Int3 ZZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public Int3 ZZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 RRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 RRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 RRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 RGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 RGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 RBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 RBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 GRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 GRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 GGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 GGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 GGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 GBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 GBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 BRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 BRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 BGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 BGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public Int3 BBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public Int3 BBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public Int3 BBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Int3");
|
||||
#>
|
||||
ファイル差分が大きすぎるため表示されません。
差分を読み込み
ファイル差分が大きすぎるため表示されません。
差分を読み込み
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("Int4");
|
||||
#>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(uint) * 2)]
|
||||
public struct UInt2
|
||||
public partial struct UInt2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with all components set to 0.
|
||||
@@ -80,62 +80,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 XX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="UInt2"/>
|
||||
public partial struct UInt2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GG)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("UInt2");
|
||||
#>
|
||||
@@ -9,7 +9,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z})")]
|
||||
[StructLayout(LayoutKind.Sequential, Size = sizeof(uint) * 3)]
|
||||
public struct UInt3
|
||||
public partial struct UInt3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with all components set to 0.
|
||||
@@ -101,462 +101,6 @@ namespace ComputeSharp
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}[int]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 XX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt2 XZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt2 YZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt2 ZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt2 ZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt2 RB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt2 GB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt2 BR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt2"/> value with the <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt2 BG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt3 XXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 XZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt3 YYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 YZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="X"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="Y"/> and <see cref="Z"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="X"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/>, <see cref="Z"/> and <see cref="Y"/> values.
|
||||
/// </summary>
|
||||
public UInt3 ZZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt3 ZZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt3 RRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="R"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 RBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt3 GGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="G"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 GBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="R"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="G"/> and <see cref="B"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="R"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/>, <see cref="B"/> and <see cref="G"/> values.
|
||||
/// </summary>
|
||||
public UInt3 BBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="B"/> value for all components.
|
||||
/// </summary>
|
||||
public UInt3 BBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,520 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="UInt3"/>
|
||||
public partial struct UInt3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt2 XX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt2 XY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt2 YX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt2 YY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt2 RR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt2 RG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt2 GR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt2 GG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 XXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 XXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 XXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 XYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 XYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 XYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 XZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 XZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 XZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 YXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 YXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 YXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 YYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 YYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 YYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 YZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 YZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 YZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZXX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZXY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXY)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZXZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZYX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYX)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZYY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZYZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZZX
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZX)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZZY
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZY)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public UInt3 ZZZ
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZZ)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 RRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 RRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 RRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 RGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 RGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 RGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 RBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 RBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 RBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 GRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 GRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 GRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 GGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 GGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 GGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 GBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 GBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 GBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 BRR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 BRG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRG)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 BRB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 BGR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGR)}");
|
||||
set => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 BGG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 BGB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGB)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public UInt3 BBR
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBR)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public UInt3 BBG
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBG)}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public UInt3 BBB
|
||||
{
|
||||
get => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBB)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("UInt3");
|
||||
#>
|
||||
ファイル差分が大きすぎるため表示されません。
差分を読み込み
ファイル差分が大きすぎるため表示されません。
差分を読み込み
@@ -0,0 +1,4 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("UInt4");
|
||||
#>
|
||||
@@ -0,0 +1,87 @@
|
||||
<#@ template debug="false" hostspecific="false" language="C#" #>
|
||||
<#@ assembly name="System.Core" #>
|
||||
<#@ import namespace="System.Linq" #>
|
||||
<#@ import namespace="System.Text" #>
|
||||
<#@ import namespace="System.Text.RegularExpressions" #>
|
||||
<#@ import namespace="System.Collections.Generic" #>
|
||||
<#@ output extension=".g.cs"#>
|
||||
<#
|
||||
// Enumerates on all combinations of a given string (with repetition)
|
||||
IEnumerable<string> EnumerateCombinations(string text)
|
||||
{
|
||||
static IEnumerable<string> EnumerateCombinations(string text, int length)
|
||||
{
|
||||
if (length == 1) return text.Select(c => c.ToString());
|
||||
|
||||
return EnumerateCombinations(text, length - 1).SelectMany(s => text, (s1, s2) => s1 + s2);
|
||||
}
|
||||
|
||||
return EnumerateCombinations(text, text.Length);
|
||||
}
|
||||
|
||||
// Generates all vector access properties for a specified type
|
||||
void GenerateVectorProperties(string typeName)
|
||||
{
|
||||
string elementTypeName = Regex.Match(typeName, @"^[A-Za-z]+").Value;
|
||||
string hlslElementTypeName = elementTypeName.ToLower();
|
||||
int i = int.Parse(Regex.Match(typeName, @"\d+$").Value);
|
||||
#>
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="<#=typeName#>"/>
|
||||
public partial struct <#=typeName#>
|
||||
{
|
||||
<#
|
||||
PushIndent(" ");
|
||||
PushIndent(" ");
|
||||
|
||||
var properties = (
|
||||
from j in Enumerable.Range(2, i - 1)
|
||||
from source in new[] { "XYZW", "RGBA" }
|
||||
from name in EnumerateCombinations(source.Substring(0, j))
|
||||
select (Name: name, Length: j)).ToArray();
|
||||
|
||||
for (int j = 0; j < properties.Length; j++)
|
||||
{
|
||||
var property = properties[j];
|
||||
string propertyType = property.Length == 1 ? hlslElementTypeName : $"{elementTypeName}{property.Length}";
|
||||
bool isReadonly = property.Name.Distinct().Count() < property.Name.Length;
|
||||
|
||||
// XML docs
|
||||
WriteLine("/// <summary>");
|
||||
Write("/// Gets ");
|
||||
if (!isReadonly) Write("or sets ");
|
||||
Write($"a <see cref=\"{propertyType}\"/> value with the values ");
|
||||
Write(string.Join(", ", property.Name.Select(c => $"<see cref=\"{c}\"/>")));
|
||||
WriteLine(".");
|
||||
WriteLine("/// </summary>");
|
||||
|
||||
// Property
|
||||
WriteLine($"public {propertyType} {property.Name}");
|
||||
WriteLine("{");
|
||||
|
||||
PushIndent(" ");
|
||||
|
||||
WriteLine($"get => throw new InvalidExecutionContextException($\"{{nameof({typeName})}}.{{nameof({property.Name})}}\");");
|
||||
|
||||
if (!isReadonly)
|
||||
{
|
||||
WriteLine($"set => throw new InvalidExecutionContextException($\"{{nameof({typeName})}}.{{nameof({property.Name})}}\");");
|
||||
}
|
||||
|
||||
PopIndent();
|
||||
WriteLine("}");
|
||||
|
||||
if (j < properties.Length - 1) WriteLine("");
|
||||
}
|
||||
|
||||
PopIndent();
|
||||
PopIndent();
|
||||
#>
|
||||
}
|
||||
}
|
||||
<#
|
||||
}
|
||||
#>
|
||||
新しいイシューから参照
ユーザーをブロックする