diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs
index 2226a61b..21db7412 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs
@@ -29,12 +29,12 @@ namespace ComputeSharp.D2D1.Interop;
/// interface ID2D1TransformMapper : IUnknown
/// {
/// HRESULT MapInputRectsToOutputRect(
-/// [in] const ID2D1DrawInfoUpdateContex* updateContext,
-/// [in] const RECT* inputRects,
-/// [in] const RECT* inputOpaqueSubRects,
-/// UINT32 inputRectCount,
-/// [out] RECT* outputRect,
-/// [out] RECT* outputOpaqueSubRect);
+/// [in] const ID2D1DrawInfoUpdateContext* updateContext,
+/// [in] const RECT* inputRects,
+/// [in] const RECT* inputOpaqueSubRects,
+/// UINT32 inputRectCount,
+/// [out] RECT* outputRect,
+/// [out] RECT* outputOpaqueSubRect);
///
/// HRESULT MapOutputRectToInputRects(
/// [in] const RECT* outputRect,
@@ -60,10 +60,10 @@ namespace ComputeSharp.D2D1.Interop;
///
/// The main difference between these APIs and the ones in ID2D1Transform is the fact that this interface is standalone (ie. it doesn't inherit from ID2D1TransformNode),
/// and that it allows transform mappers to also read and update additional data tied to an effect instance (such as the shader constant buffer). This is done through the
-/// ID2D1DrawInfoUpdateContex interface, that is passed to MapInputRectsToOutputRect. This interface is defined as follows:
+/// ID2D1DrawInfoUpdateContext interface, that is passed to MapInputRectsToOutputRect. This interface is defined as follows:
///
/// [uuid(430C5B40-AE16-485F-90E6-4FA4915144B6)]
-/// interface ID2D1DrawInfoUpdateContex : IUnknown
+/// interface ID2D1DrawInfoUpdateContext : IUnknown
/// {
/// HRESULT GetConstantBufferSize([out] UINT32 *size);
///
@@ -78,7 +78,7 @@ namespace ComputeSharp.D2D1.Interop;
///
///
///
-/// That is, ID2D1DrawInfoUpdateContex allows a custom transform (an ID2D1TransformMapper instance) to interact with the underlying ID2D1DrawInfo object
+/// That is, ID2D1DrawInfoUpdateContext allows a custom transform (an ID2D1TransformMapper instance) to interact with the underlying ID2D1DrawInfo object
/// that is owned by the effect being used, in a safe way. For instance, it allows a transform to read and update the constant buffer, which can be used to allow a transform to
/// pass the exact dispatch area size to an input shader, without the consumer having to manually query that information beforehand (which might not be available either).
///
diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs
index 93a29162..50267237 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs
@@ -13,7 +13,7 @@ partial struct D2D1DrawInfoUpdateContextImpl
///
/// The implementation for .
///
- private static unsafe class ID2D1DrawInfoUpdateContexMethods
+ private static unsafe class ID2D1DrawInfoUpdateContextMethods
{
#if !NET6_0_OR_GREATER
///
diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs
index 62c9e9da..8b283f73 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs
@@ -10,7 +10,7 @@ namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
///
unsafe partial struct D2D1DrawInfoUpdateContextImpl
{
- ///
+ ///
public int Close()
{
this.d2D1DrawInfo = null;
@@ -19,9 +19,9 @@ unsafe partial struct D2D1DrawInfoUpdateContextImpl
}
///
- /// The implementation for .
+ /// The implementation for .
///
- private static class ID2D1DrawInfoUpdateContexInternalMethods
+ private static class ID2D1DrawInfoUpdateContextInternalMethods
{
#if !NET6_0_OR_GREATER
///
@@ -76,7 +76,7 @@ unsafe partial struct D2D1DrawInfoUpdateContextImpl
return @this->Release();
}
- ///
+ ///
[UnmanagedCallersOnly]
public static int Close(D2D1DrawInfoUpdateContextImpl* @this)
{
diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs
index 840d0729..b49bdfbc 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs
@@ -13,7 +13,7 @@ using RuntimeHelpers = ComputeSharp.D2D1.NetStandard.System.Runtime.CompilerServ
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
///
-/// An implementation of the and interfaces.
+/// An implementation of the and interfaces.
///
internal unsafe partial struct D2D1DrawInfoUpdateContextImpl
{
@@ -34,49 +34,49 @@ internal unsafe partial struct D2D1DrawInfoUpdateContextImpl
///
/// The shared vtable pointer for instance, for .
///
- private static readonly void** VtblForID2D1DrawInfoUpdateContex = InitVtblForID2D1DrawInfoUpdateContexAndID2D1DrawInfoUpdateContexInternal();
+ private static readonly void** VtblForID2D1DrawInfoUpdateContext = InitVtblForID2D1DrawInfoUpdateContextAndID2D1DrawInfoUpdateContextInternal();
///
- /// The shared vtable pointer for instance, for .
+ /// The shared vtable pointer for instance, for .
///
- private static readonly void** VtblForID2D1DrawInfoUpdateContexInternal = &VtblForID2D1DrawInfoUpdateContex[5];
+ private static readonly void** VtblForID2D1DrawInfoUpdateContextInternal = &VtblForID2D1DrawInfoUpdateContext[5];
///
- /// Initializes the combined vtable for and .
+ /// Initializes the combined vtable for and .
///
- /// The combined vtable for and .
- private static void** InitVtblForID2D1DrawInfoUpdateContexAndID2D1DrawInfoUpdateContexInternal()
+ /// The combined vtable for and .
+ private static void** InitVtblForID2D1DrawInfoUpdateContextAndID2D1DrawInfoUpdateContextInternal()
{
void** lpVtbl = (void**)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(D2D1DrawInfoUpdateContextImpl), sizeof(void*) * 10);
// ID2D1ResourceTextureManager
#if NET6_0_OR_GREATER
- lpVtbl[0] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexMethods.QueryInterface;
- lpVtbl[1] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexMethods.AddRef;
- lpVtbl[2] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexMethods.Release;
- lpVtbl[3] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexMethods.GetConstantBufferSize;
- lpVtbl[4] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexMethods.GetConstantBuffer;
- lpVtbl[5] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexMethods.SetConstantBuffer;
+ lpVtbl[0] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextMethods.QueryInterface;
+ lpVtbl[1] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextMethods.AddRef;
+ lpVtbl[2] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextMethods.Release;
+ lpVtbl[3] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextMethods.GetConstantBufferSize;
+ lpVtbl[4] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextMethods.GetConstantBuffer;
+ lpVtbl[5] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextMethods.SetConstantBuffer;
#else
- lpVtbl[0] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexMethods.QueryInterfaceWrapper);
- lpVtbl[1] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexMethods.AddRefWrapper);
- lpVtbl[2] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexMethods.ReleaseWrapper);
- lpVtbl[3] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexMethods.GetConstantBufferSizeWrapper);
- lpVtbl[4] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexMethods.GetConstantBufferWrapper);
- lpVtbl[5] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexMethods.SetConstantBufferWrapper);
+ lpVtbl[0] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextMethods.QueryInterfaceWrapper);
+ lpVtbl[1] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextMethods.AddRefWrapper);
+ lpVtbl[2] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextMethods.ReleaseWrapper);
+ lpVtbl[3] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextMethods.GetConstantBufferSizeWrapper);
+ lpVtbl[4] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextMethods.GetConstantBufferWrapper);
+ lpVtbl[5] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextMethods.SetConstantBufferWrapper);
#endif
// ID2D1ResourceTextureManagerInternal
#if NET6_0_OR_GREATER
- lpVtbl[6 + 0] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexInternalMethods.QueryInterface;
- lpVtbl[6 + 1] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexInternalMethods.AddRef;
- lpVtbl[6 + 2] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexInternalMethods.Release;
- lpVtbl[6 + 3] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContexInternalMethods.Close;
+ lpVtbl[6 + 0] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextInternalMethods.QueryInterface;
+ lpVtbl[6 + 1] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextInternalMethods.AddRef;
+ lpVtbl[6 + 2] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextInternalMethods.Release;
+ lpVtbl[6 + 3] = (delegate* unmanaged)&ID2D1DrawInfoUpdateContextInternalMethods.Close;
#else
- lpVtbl[6 + 0] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexInternalMethods.QueryInterfaceWrapper);
- lpVtbl[6 + 1] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexInternalMethods.AddRefWrapper);
- lpVtbl[6 + 2] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexInternalMethods.ReleaseWrapper);
- lpVtbl[6 + 3] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContexInternalMethods.CloseWrapper);
+ lpVtbl[6 + 0] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextInternalMethods.QueryInterfaceWrapper);
+ lpVtbl[6 + 1] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextInternalMethods.AddRefWrapper);
+ lpVtbl[6 + 2] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextInternalMethods.ReleaseWrapper);
+ lpVtbl[6 + 3] = (void*)Marshal.GetFunctionPointerForDelegate(ID2D1DrawInfoUpdateContextInternalMethods.CloseWrapper);
#endif
return lpVtbl;
@@ -85,12 +85,12 @@ internal unsafe partial struct D2D1DrawInfoUpdateContextImpl
///
/// The vtable pointer for the current instance, for .
///
- private void** lpVtblForID2D1DrawInfoUpdateContex;
+ private void** lpVtblForID2D1DrawInfoUpdateContext;
///
- /// The vtable pointer for the current instance, for .
+ /// The vtable pointer for the current instance, for .
///
- private void** lpVtblForID2D1DrawInfoUpdateContexInternal;
+ private void** lpVtblForID2D1DrawInfoUpdateContextInternal;
///
/// The current reference count for the object (from ).
@@ -139,8 +139,8 @@ internal unsafe partial struct D2D1DrawInfoUpdateContextImpl
return E.E_OUTOFMEMORY;
}
- @this->lpVtblForID2D1DrawInfoUpdateContex = VtblForID2D1DrawInfoUpdateContex;
- @this->lpVtblForID2D1DrawInfoUpdateContexInternal = VtblForID2D1DrawInfoUpdateContexInternal;
+ @this->lpVtblForID2D1DrawInfoUpdateContext = VtblForID2D1DrawInfoUpdateContext;
+ @this->lpVtblForID2D1DrawInfoUpdateContextInternal = VtblForID2D1DrawInfoUpdateContextInternal;
@this->referenceCount = 1;
@this->constantBuffer = constantBuffer;
@this->constantBufferSize = constantBufferSize;
@@ -159,7 +159,7 @@ internal unsafe partial struct D2D1DrawInfoUpdateContextImpl
return E.E_POINTER;
}
- // ID2D1DrawInfoUpdateContex
+ // ID2D1DrawInfoUpdateContext
if (riid->Equals(Windows.__uuidof()) ||
riid->Equals(ID2D1DrawInfoUpdateContext.Guid))
{
@@ -170,8 +170,8 @@ internal unsafe partial struct D2D1DrawInfoUpdateContextImpl
return S.S_OK;
}
- // ID2D1DrawInfoUpdateContexInternal
- if (riid->Equals(ID2D1DrawInfoUpdateContexInternal.Guid))
+ // ID2D1DrawInfoUpdateContextInternal
+ if (riid->Equals(ID2D1DrawInfoUpdateContextInternal.Guid))
{
_ = Interlocked.Increment(ref this.referenceCount);
diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs
index 3a149c59..9ac8206d 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs
@@ -11,10 +11,10 @@ namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
/// An internal version of that supports being closed, to manage lifetime scopes.
///
[Guid("CF2F5BB0-3F5E-4D6E-8FF1-D9A7EB6C0250")]
-internal unsafe struct ID2D1DrawInfoUpdateContexInternal
+internal unsafe struct ID2D1DrawInfoUpdateContextInternal
{
///
- /// Gets the for (CF2F5BB0-3F5E-4D6E-8FF1-D9A7EB6C0250).
+ /// Gets the for (CF2F5BB0-3F5E-4D6E-8FF1-D9A7EB6C0250).
///
public static ref readonly Guid Guid
{