Added single value properties to matrix types
このコミットが含まれているのは:
1 親
d6844442e9
コミット
f1277c3bf1
7ファイル変更
+2528
検索条件に一致するファイルはありません
@@ -192,6 +192,20 @@ namespace ComputeSharp.SourceGenerators.Mappings
|
||||
knownMembers.Add($"{item.Type.FullName}{Type.Delimiter}{item.Property.Name}", $"{item.Property.Name.ToLower()}");
|
||||
}
|
||||
|
||||
// Load mappings for the matrix properties as well
|
||||
foreach (var item in
|
||||
from type in HlslKnownTypes.KnownMatrixTypes
|
||||
from property in type.GetProperties(BindingFlags.Instance | BindingFlags.Public)
|
||||
where Regex.IsMatch(property.Name, "^M[1-4]{2}$")
|
||||
select (Type: type, Property: property))
|
||||
{
|
||||
char
|
||||
row = (char)(item.Property.Name[1] - 1),
|
||||
column = (char)(item.Property.Name[2] - 1);
|
||||
|
||||
knownMembers.Add($"{item.Type.FullName}{Type.Delimiter}{item.Property.Name}", $"_m{row}{column}");
|
||||
}
|
||||
|
||||
// Store GroupIds.Index for a quicker comparison afterwards
|
||||
PropertyInfo groupindexProperty = typeof(GroupIds).GetProperty(nameof(GroupIds.Index), BindingFlags.Static | BindingFlags.Public);
|
||||
|
||||
|
||||
@@ -49,6 +49,11 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool1x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool1x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool1x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -148,6 +153,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool1x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool1x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool1x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool1x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -259,6 +274,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool1x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool1x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool1x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool1x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool1x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -376,6 +406,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool1x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool1x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool1x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool1x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref bool M14 => throw new InvalidExecutionContextException($"{typeof(Bool1x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool1x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -484,6 +534,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool2x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool2x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool2x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool2x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -613,6 +673,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool2x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool2x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool2x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool2x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool2x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool2x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -750,6 +830,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool2x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool2x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool2x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool2x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool2x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool2x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref bool M23 => throw new InvalidExecutionContextException($"{typeof(Bool2x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool2x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -901,6 +1011,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool2x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref bool M14 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref bool M23 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref bool M24 => throw new InvalidExecutionContextException($"{typeof(Bool2x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool2x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1012,6 +1162,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool3x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool3x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool3x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool3x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool3x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1155,6 +1320,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool3x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool3x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool3x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool3x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool3x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool3x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref bool M32 => throw new InvalidExecutionContextException($"{typeof(Bool3x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool3x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1313,6 +1508,51 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool3x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref bool M23 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref bool M32 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref bool M33 => throw new InvalidExecutionContextException($"{typeof(Bool3x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool3x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1492,6 +1732,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool3x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref bool M14 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref bool M23 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref bool M24 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref bool M32 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref bool M33 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref bool M34 => throw new InvalidExecutionContextException($"{typeof(Bool3x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool3x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1612,6 +1912,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool4x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool4x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool4x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool4x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref bool M41 => throw new InvalidExecutionContextException($"{typeof(Bool4x1)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool4x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1769,6 +2089,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool4x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref bool M32 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref bool M41 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref bool M42 => throw new InvalidExecutionContextException($"{typeof(Bool4x2)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool4x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1948,6 +2308,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool4x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref bool M23 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref bool M32 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref bool M33 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref bool M41 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref bool M42 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref bool M43 => throw new InvalidExecutionContextException($"{typeof(Bool4x3)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool4x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -2155,6 +2575,86 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Bool4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Bool4x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref bool M11 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref bool M12 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref bool M13 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref bool M14 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref bool M21 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref bool M22 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref bool M23 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref bool M24 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref bool M31 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref bool M32 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref bool M33 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref bool M34 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref bool M41 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref bool M42 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref bool M43 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="bool"/> value representing the component at position [4, 4].
|
||||
/// </summary>
|
||||
public ref bool M44 => throw new InvalidExecutionContextException($"{typeof(Bool4x4)}.M44");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Bool4x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -49,6 +49,11 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double1x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double1x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double1x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -148,6 +153,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double1x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double1x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double1x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double1x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -259,6 +274,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double1x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double1x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double1x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double1x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double1x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -376,6 +406,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double1x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double1x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double1x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double1x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref double M14 => throw new InvalidExecutionContextException($"{typeof(Double1x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double1x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -484,6 +534,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double2x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double2x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double2x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double2x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -613,6 +673,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double2x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double2x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double2x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double2x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double2x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double2x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -750,6 +830,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double2x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double2x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double2x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double2x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double2x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double2x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref double M23 => throw new InvalidExecutionContextException($"{typeof(Double2x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double2x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -901,6 +1011,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double2x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref double M14 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref double M23 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref double M24 => throw new InvalidExecutionContextException($"{typeof(Double2x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double2x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1012,6 +1162,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double3x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double3x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double3x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double3x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double3x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1155,6 +1320,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double3x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double3x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double3x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double3x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double3x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double3x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref double M32 => throw new InvalidExecutionContextException($"{typeof(Double3x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double3x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1313,6 +1508,51 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double3x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref double M23 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref double M32 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref double M33 => throw new InvalidExecutionContextException($"{typeof(Double3x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double3x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1492,6 +1732,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double3x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref double M14 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref double M23 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref double M24 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref double M32 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref double M33 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref double M34 => throw new InvalidExecutionContextException($"{typeof(Double3x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double3x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1612,6 +1912,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double4x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double4x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double4x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double4x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref double M41 => throw new InvalidExecutionContextException($"{typeof(Double4x1)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double4x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1769,6 +2089,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double4x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref double M32 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref double M41 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref double M42 => throw new InvalidExecutionContextException($"{typeof(Double4x2)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double4x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1948,6 +2308,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double4x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref double M23 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref double M32 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref double M33 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref double M41 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref double M42 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref double M43 => throw new InvalidExecutionContextException($"{typeof(Double4x3)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double4x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -2155,6 +2575,86 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Double4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Double4x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref double M11 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref double M12 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref double M13 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref double M14 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref double M21 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref double M22 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref double M23 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref double M24 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref double M31 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref double M32 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref double M33 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref double M34 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref double M41 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref double M42 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref double M43 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="double"/> value representing the component at position [4, 4].
|
||||
/// </summary>
|
||||
public ref double M44 => throw new InvalidExecutionContextException($"{typeof(Double4x4)}.M44");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Double4x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -49,6 +49,11 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float1x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float1x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float1x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -148,6 +153,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float1x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float1x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float1x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float1x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -259,6 +274,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float1x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float1x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float1x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float1x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float1x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -376,6 +406,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float1x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float1x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float1x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float1x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref float M14 => throw new InvalidExecutionContextException($"{typeof(Float1x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float1x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -484,6 +534,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float2x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float2x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float2x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float2x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -613,6 +673,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float2x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float2x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float2x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float2x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float2x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float2x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -750,6 +830,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float2x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float2x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float2x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float2x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float2x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float2x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref float M23 => throw new InvalidExecutionContextException($"{typeof(Float2x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float2x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -901,6 +1011,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float2x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref float M14 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref float M23 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref float M24 => throw new InvalidExecutionContextException($"{typeof(Float2x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float2x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1012,6 +1162,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float3x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float3x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float3x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float3x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float3x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1155,6 +1320,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float3x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float3x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float3x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float3x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float3x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float3x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref float M32 => throw new InvalidExecutionContextException($"{typeof(Float3x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float3x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1313,6 +1508,51 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float3x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref float M23 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref float M32 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref float M33 => throw new InvalidExecutionContextException($"{typeof(Float3x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float3x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1492,6 +1732,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float3x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref float M14 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref float M23 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref float M24 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref float M32 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref float M33 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref float M34 => throw new InvalidExecutionContextException($"{typeof(Float3x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float3x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1612,6 +1912,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float4x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float4x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float4x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float4x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref float M41 => throw new InvalidExecutionContextException($"{typeof(Float4x1)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float4x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1769,6 +2089,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float4x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref float M32 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref float M41 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref float M42 => throw new InvalidExecutionContextException($"{typeof(Float4x2)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float4x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1948,6 +2308,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float4x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref float M23 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref float M32 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref float M33 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref float M41 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref float M42 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref float M43 => throw new InvalidExecutionContextException($"{typeof(Float4x3)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float4x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -2155,6 +2575,86 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Float4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Float4x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref float M11 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref float M12 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref float M13 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref float M14 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref float M21 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref float M22 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref float M23 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref float M24 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref float M31 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref float M32 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref float M33 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref float M34 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref float M41 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref float M42 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref float M43 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="float"/> value representing the component at position [4, 4].
|
||||
/// </summary>
|
||||
public ref float M44 => throw new InvalidExecutionContextException($"{typeof(Float4x4)}.M44");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Float4x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -49,6 +49,11 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int1x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int1x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int1x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -148,6 +153,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int1x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int1x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int1x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int1x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -259,6 +274,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int1x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int1x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int1x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int1x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int1x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -376,6 +406,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int1x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int1x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int1x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int1x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref int M14 => throw new InvalidExecutionContextException($"{typeof(Int1x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int1x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -484,6 +534,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int2x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int2x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int2x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int2x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -613,6 +673,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int2x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int2x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int2x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int2x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int2x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int2x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -750,6 +830,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int2x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int2x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int2x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int2x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int2x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int2x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref int M23 => throw new InvalidExecutionContextException($"{typeof(Int2x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int2x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -901,6 +1011,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int2x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref int M14 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref int M23 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref int M24 => throw new InvalidExecutionContextException($"{typeof(Int2x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int2x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1012,6 +1162,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int3x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int3x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int3x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int3x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int3x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1155,6 +1320,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int3x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int3x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int3x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int3x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int3x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int3x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref int M32 => throw new InvalidExecutionContextException($"{typeof(Int3x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int3x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1313,6 +1508,51 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int3x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref int M23 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref int M32 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref int M33 => throw new InvalidExecutionContextException($"{typeof(Int3x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int3x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1492,6 +1732,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int3x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref int M14 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref int M23 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref int M24 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref int M32 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref int M33 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref int M34 => throw new InvalidExecutionContextException($"{typeof(Int3x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int3x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1612,6 +1912,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int4x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int4x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int4x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int4x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref int M41 => throw new InvalidExecutionContextException($"{typeof(Int4x1)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int4x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1769,6 +2089,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int4x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref int M32 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref int M41 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref int M42 => throw new InvalidExecutionContextException($"{typeof(Int4x2)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int4x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1948,6 +2308,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int4x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref int M23 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref int M32 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref int M33 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref int M41 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref int M42 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref int M43 => throw new InvalidExecutionContextException($"{typeof(Int4x3)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int4x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -2155,6 +2575,86 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref Int4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(Int4x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref int M11 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref int M12 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref int M13 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref int M14 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref int M21 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref int M22 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref int M23 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref int M24 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref int M31 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref int M32 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref int M33 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref int M34 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref int M41 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref int M42 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref int M43 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="int"/> value representing the component at position [4, 4].
|
||||
/// </summary>
|
||||
public ref int M44 => throw new InvalidExecutionContextException($"{typeof(Int4x4)}.M44");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="Int4x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -146,7 +146,21 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
|
||||
/// <param name="xy2">The identifier of the third item to index.</param>
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref <#=typeName#>4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
<#
|
||||
for (int i = 1; i <= rows; i++)
|
||||
for (int j = 1; j <= columns; j++)
|
||||
{
|
||||
WriteLine("");
|
||||
#>
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="<#=elementTypeName#>"/> value representing the component at position [<#=i#>, <#=j#>].
|
||||
/// </summary>
|
||||
public ref <#=elementTypeName#> M<#=i#><#=j#> => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.M<#=i#><#=j#>");
|
||||
<#
|
||||
}
|
||||
|
||||
WriteLine("");
|
||||
#>
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="<#=fullTypeName#>"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
@@ -49,6 +49,11 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt1x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt1x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt1x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -148,6 +153,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt1x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt1x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt1x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt1x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -259,6 +274,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt1x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt1x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt1x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt1x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt1x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -376,6 +406,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt1x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt1x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt1x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt1x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref uint M14 => throw new InvalidExecutionContextException($"{typeof(UInt1x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt1x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -484,6 +534,16 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt2x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt2x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt2x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -613,6 +673,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt2x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt2x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt2x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt2x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt2x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -750,6 +830,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt2x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt2x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt2x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt2x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt2x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt2x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref uint M23 => throw new InvalidExecutionContextException($"{typeof(UInt2x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -901,6 +1011,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt2x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref uint M14 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref uint M23 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref uint M24 => throw new InvalidExecutionContextException($"{typeof(UInt2x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1012,6 +1162,21 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt3x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt3x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt3x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt3x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1155,6 +1320,36 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt3x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt3x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt3x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt3x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt3x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt3x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref uint M32 => throw new InvalidExecutionContextException($"{typeof(UInt3x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1313,6 +1508,51 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt3x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref uint M23 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref uint M32 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref uint M33 => throw new InvalidExecutionContextException($"{typeof(UInt3x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1492,6 +1732,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt3x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref uint M14 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref uint M23 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref uint M24 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref uint M32 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref uint M33 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref uint M34 => throw new InvalidExecutionContextException($"{typeof(UInt3x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1612,6 +1912,26 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt4x1)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt4x1)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt4x1)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt4x1)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref uint M41 => throw new InvalidExecutionContextException($"{typeof(UInt4x1)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4x1"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1769,6 +2089,46 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt4x2)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref uint M32 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref uint M41 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref uint M42 => throw new InvalidExecutionContextException($"{typeof(UInt4x2)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4x2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -1948,6 +2308,66 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt4x3)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref uint M23 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref uint M32 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref uint M33 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref uint M41 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref uint M42 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref uint M43 => throw new InvalidExecutionContextException($"{typeof(UInt4x3)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4x3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
@@ -2155,6 +2575,86 @@ namespace ComputeSharp
|
||||
/// <param name="xy3">The identifier of the fourth item to index.</param>
|
||||
public ref UInt4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(UInt4x4)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 1].
|
||||
/// </summary>
|
||||
public ref uint M11 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M11");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 2].
|
||||
/// </summary>
|
||||
public ref uint M12 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M12");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 3].
|
||||
/// </summary>
|
||||
public ref uint M13 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M13");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [1, 4].
|
||||
/// </summary>
|
||||
public ref uint M14 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M14");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 1].
|
||||
/// </summary>
|
||||
public ref uint M21 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M21");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 2].
|
||||
/// </summary>
|
||||
public ref uint M22 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M22");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 3].
|
||||
/// </summary>
|
||||
public ref uint M23 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M23");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [2, 4].
|
||||
/// </summary>
|
||||
public ref uint M24 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M24");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 1].
|
||||
/// </summary>
|
||||
public ref uint M31 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M31");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 2].
|
||||
/// </summary>
|
||||
public ref uint M32 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M32");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 3].
|
||||
/// </summary>
|
||||
public ref uint M33 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M33");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [3, 4].
|
||||
/// </summary>
|
||||
public ref uint M34 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M34");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 1].
|
||||
/// </summary>
|
||||
public ref uint M41 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M41");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 2].
|
||||
/// </summary>
|
||||
public ref uint M42 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M42");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 3].
|
||||
/// </summary>
|
||||
public ref uint M43 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M43");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the component at position [4, 4].
|
||||
/// </summary>
|
||||
public ref uint M44 => throw new InvalidExecutionContextException($"{typeof(UInt4x4)}.M44");
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4x4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする