Move True/False and One/Zero properties to T4 templates
このコミットが含まれているのは:
1 親
2de22e1cb3
コミット
f5c4e6aacd
31ファイル変更
+181
-152
検索条件に一致するファイルはありません
@@ -37,6 +37,16 @@ public unsafe partial struct UInt2
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public readonly ref uint this[int i] => ref *(uint*)UndefinedData;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with all components set to 0.
|
||||
/// </summary>
|
||||
public static UInt2 Zero => 0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="UInt2"/> value with all components set to 1.
|
||||
/// </summary>
|
||||
public static UInt2 One => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>X</c> component.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする