diff --git a/src/ComputeSharp.D2D1.WinUI/Buffers/ResourceTextureManagerBuffer.cs b/src/ComputeSharp.D2D1.WinUI/Buffers/ResourceTextureManagerBuffer.cs
index 66744195..a4a38b55 100644
--- a/src/ComputeSharp.D2D1.WinUI/Buffers/ResourceTextureManagerBuffer.cs
+++ b/src/ComputeSharp.D2D1.WinUI/Buffers/ResourceTextureManagerBuffer.cs
@@ -1,113 +1,18 @@
-using System;
-using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using ComputeSharp.D2D1.Interop;
+#pragma warning disable IDE0044, IDE0051
+
namespace ComputeSharp.D2D1.WinUI.Buffers;
///
/// A fixed buffer type containing 16 fields.
///
+[InlineArray(16)]
internal struct ResourceTextureManagerBuffer
{
///
/// The instance at index 0.
///
- public D2D1ResourceTextureManager? ResourceTextureManager0;
-
- ///
- /// The instance at index 1.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager1;
-
- ///
- /// The instance at index 2.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager2;
-
- ///
- /// The instance at index 3.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager3;
-
- ///
- /// The instance at index 4.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager4;
-
- ///
- /// The instance at index 5.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager5;
-
- ///
- /// The instance at index 6.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager6;
-
- ///
- /// The instance at index 7.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager7;
-
- ///
- /// The instance at index 8.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager8;
-
- ///
- /// The instance at index 9.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager9;
-
- ///
- /// The instance at index 10.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager10;
-
- ///
- /// The instance at index 11.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager11;
-
- ///
- /// The instance at index 12.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager12;
-
- ///
- /// The instance at index 13.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager13;
-
- ///
- /// The instance at index 14.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager14;
-
- ///
- /// The instance at index 15.
- ///
- public D2D1ResourceTextureManager? ResourceTextureManager15;
-
- ///
- /// Gets a reference to the value at a given index.
- ///
- /// The index of the value to get a reference to.
- /// A reference to the value at a given index.
- /// Thrown if is not a valid index for the current effect.
- [UnscopedRef]
- public ref D2D1ResourceTextureManager? this[int index]
- {
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- get
- {
- default(ArgumentOutOfRangeException).ThrowIfNotInRange(index, 0, 16);
-
- ref D2D1ResourceTextureManager? r0 = ref Unsafe.As(ref this);
- ref D2D1ResourceTextureManager? r1 = ref Unsafe.Add(ref r0, index);
-
- return ref r1;
- }
- }
+ private D2D1ResourceTextureManager? resourceTextureManager0;
}
\ No newline at end of file