diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs
index 3e76e5b7..5c3f54f6 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs
@@ -89,7 +89,7 @@ internal sealed class D2D1AffineTransformMapperFactory
///
/// Gets the fixed affine transform matrix.
///
- public Matrix3x2 Amount { get; init; }
+ public required Matrix3x2 Amount { get; init; }
///
public override Matrix3x2 Get(in T shader)
diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs
index 873d911f..6eb52310 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs
@@ -19,7 +19,7 @@ internal sealed class D2D1InflateTransformMapperFactory : D2D1TransformMapper
///
/// Gets the fixed inflate amount.
///
- public int Amount { get; init; }
+ public required int Amount { get; init; }
///
public override (int, int, int, int) Get(in T shader)
@@ -36,22 +36,22 @@ internal sealed class D2D1InflateTransformMapperFactory : D2D1TransformMapper
///
/// The constant left inflate amount.
///
- public int Left { get; init; }
+ public required int Left { get; init; }
///
/// The constant top inflate amount.
///
- public int Top { get; init; }
+ public required int Top { get; init; }
///
/// The constant right inflate amount.
///
- public int Right { get; init; }
+ public required int Right { get; init; }
///
/// The constant bottom inflate amount.
///
- public int Bottom { get; init; }
+ public required int Bottom { get; init; }
///
public override (int, int, int, int) Get(in T shader)