diff --git a/src/ComputeSharp.Shaders/Primitives/Double/Double2.cs b/src/ComputeSharp.Shaders/Primitives/Double/Double2.cs
index f9c4156b..6769cc26 100644
--- a/src/ComputeSharp.Shaders/Primitives/Double/Double2.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Double/Double2.cs
@@ -9,6 +9,26 @@ namespace ComputeSharp.Shaders.Primitives.Double
[StructLayout(LayoutKind.Sequential, Size = sizeof(double) * 2)]
public struct Double2
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Double2 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Double2 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double2 UnitX { get; } = new Double2(1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double2 UnitY { get; } = new Double2(0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Double/Double3.cs b/src/ComputeSharp.Shaders/Primitives/Double/Double3.cs
index 2c5fc10c..13084fa7 100644
--- a/src/ComputeSharp.Shaders/Primitives/Double/Double3.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Double/Double3.cs
@@ -9,6 +9,31 @@ namespace ComputeSharp.Shaders.Primitives.Double
[StructLayout(LayoutKind.Sequential, Size = sizeof(double) * 3)]
public struct Double3
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Double3 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Double3 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double3 UnitX { get; } = new Double3(1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double3 UnitY { get; } = new Double3(0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double3 UnitZ { get; } = new Double3(0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Double/Double4.cs b/src/ComputeSharp.Shaders/Primitives/Double/Double4.cs
index 30f335b4..bd27b121 100644
--- a/src/ComputeSharp.Shaders/Primitives/Double/Double4.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Double/Double4.cs
@@ -9,6 +9,36 @@ namespace ComputeSharp.Shaders.Primitives.Double
[StructLayout(LayoutKind.Sequential, Size = sizeof(double) * 4)]
public struct Double4
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Double4 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Double4 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double4 UnitX { get; } = new Double4(1, 0, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double4 UnitY { get; } = new Double4(0, 1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double4 UnitZ { get; } = new Double4(0, 0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Double4 UnitW { get; } = new Double4(0, 0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Float/Float2.cs b/src/ComputeSharp.Shaders/Primitives/Float/Float2.cs
index bb6b865a..b17aed3d 100644
--- a/src/ComputeSharp.Shaders/Primitives/Float/Float2.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Float/Float2.cs
@@ -9,6 +9,26 @@ namespace ComputeSharp.Shaders.Primitives.Float
[StructLayout(LayoutKind.Sequential, Size = sizeof(float) * 2)]
public struct Float2
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Float2 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Float2 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float2 UnitX { get; } = new Float2(1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float2 UnitY { get; } = new Float2(0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Float/Float3.cs b/src/ComputeSharp.Shaders/Primitives/Float/Float3.cs
index 7ab9336b..cc13c5c7 100644
--- a/src/ComputeSharp.Shaders/Primitives/Float/Float3.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Float/Float3.cs
@@ -9,6 +9,31 @@ namespace ComputeSharp.Shaders.Primitives.Float
[StructLayout(LayoutKind.Sequential, Size = sizeof(float) * 3)]
public struct Float3
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Float3 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Float3 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float3 UnitX { get; } = new Float3(1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float3 UnitY { get; } = new Float3(0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float3 UnitZ { get; } = new Float3(0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Float/Float4.cs b/src/ComputeSharp.Shaders/Primitives/Float/Float4.cs
index c93bfbdf..cc841b50 100644
--- a/src/ComputeSharp.Shaders/Primitives/Float/Float4.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Float/Float4.cs
@@ -9,6 +9,36 @@ namespace ComputeSharp.Shaders.Primitives.Float
[StructLayout(LayoutKind.Sequential, Size = sizeof(float) * 4)]
public struct Float4
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Float4 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Float4 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float4 UnitX { get; } = new Float4(1, 0, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float4 UnitY { get; } = new Float4(0, 1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float4 UnitZ { get; } = new Float4(0, 0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Float4 UnitW { get; } = new Float4(0, 0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs
index c75907a1..cc11abb1 100644
--- a/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs
@@ -9,6 +9,26 @@ namespace ComputeSharp.Shaders.Primitives.Int
[StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 2)]
public struct Int2
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Int2 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Int2 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int2 UnitX { get; } = new Int2(1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int2 UnitY { get; } = new Int2(0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs
index b261d055..25b8384b 100644
--- a/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs
@@ -9,6 +9,31 @@ namespace ComputeSharp.Shaders.Primitives.Int
[StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 3)]
public struct Int3
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Int3 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Int3 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int3 UnitX { get; } = new Int3(1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int3 UnitY { get; } = new Int3(0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int3 UnitZ { get; } = new Int3(0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs
index a12d8fec..cf9d4e39 100644
--- a/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs
@@ -9,6 +9,36 @@ namespace ComputeSharp.Shaders.Primitives.Int
[StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 4)]
public struct Int4
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static Int4 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static Int4 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int4 UnitX { get; } = new Int4(1, 0, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int4 UnitY { get; } = new Int4(0, 1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int4 UnitZ { get; } = new Int4(0, 0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static Int4 UnitW { get; } = new Int4(0, 0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/UInt/UInt4.cs b/src/ComputeSharp.Shaders/Primitives/UInt/UInt4.cs
index 2c15e389..94b0a23b 100644
--- a/src/ComputeSharp.Shaders/Primitives/UInt/UInt4.cs
+++ b/src/ComputeSharp.Shaders/Primitives/UInt/UInt4.cs
@@ -9,6 +9,36 @@ namespace ComputeSharp.Shaders.Primitives.UInt
[StructLayout(LayoutKind.Sequential, Size = sizeof(uint) * 4)]
public struct UInt4
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static UInt4 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static UInt4 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt4 UnitX { get; } = new UInt4(1, 0, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt4 UnitY { get; } = new UInt4(0, 1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt4 UnitZ { get; } = new UInt4(0, 0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt4 UnitW { get; } = new UInt4(0, 0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/UInt/Uint2.cs b/src/ComputeSharp.Shaders/Primitives/UInt/Uint2.cs
index 612e9603..34703b70 100644
--- a/src/ComputeSharp.Shaders/Primitives/UInt/Uint2.cs
+++ b/src/ComputeSharp.Shaders/Primitives/UInt/Uint2.cs
@@ -9,6 +9,26 @@ namespace ComputeSharp.Shaders.Primitives.UInt
[StructLayout(LayoutKind.Sequential, Size = sizeof(uint) * 2)]
public struct UInt2
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static UInt2 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static UInt2 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt2 UnitX { get; } = new UInt2(1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt2 UnitY { get; } = new UInt2(0, 1);
+
///
/// Creates a new instance with the specified parameters
///
diff --git a/src/ComputeSharp.Shaders/Primitives/UInt/Uint3.cs b/src/ComputeSharp.Shaders/Primitives/UInt/Uint3.cs
index cba3c41e..af17c41c 100644
--- a/src/ComputeSharp.Shaders/Primitives/UInt/Uint3.cs
+++ b/src/ComputeSharp.Shaders/Primitives/UInt/Uint3.cs
@@ -9,6 +9,31 @@ namespace ComputeSharp.Shaders.Primitives.UInt
[StructLayout(LayoutKind.Sequential, Size = sizeof(uint) * 3)]
public struct UInt3
{
+ ///
+ /// Gets an value with all components set to 0
+ ///
+ public static UInt3 Zero { get; } = 0;
+
+ ///
+ /// Gets an value with all components set to 1
+ ///
+ public static UInt3 One { get; } = 1;
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt3 UnitX { get; } = new UInt3(1, 0, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt3 UnitY { get; } = new UInt3(0, 1, 0);
+
+ ///
+ /// Gets an value with the component set to 1, and the others to 0
+ ///
+ public static UInt3 UnitZ { get; } = new UInt3(0, 0, 1);
+
///
/// Creates a new instance with the specified parameters
///