From a3c160a929d83ff8b8a54a62868fbcabd4f18bfa Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Tue, 20 Sep 2022 09:16:50 +0200 Subject: [PATCH] Generator: Handle return type as struct and function marshal. --- src/Generator/Program.cs | 89 ++- .../Generated/Graphics/Direct2D.cs | 422 +++++------ .../Generated/Graphics/Direct3D.Dxc.cs | 8 +- .../Generated/Graphics/Direct3D11.cs | 88 +-- .../Generated/Graphics/Direct3D12.cs | 374 +++++----- .../Generated/Graphics/DirectWrite.cs | 660 +++++++++--------- src/Vortice.Win32/Generated/Graphics/Dxgi.cs | 4 +- 7 files changed, 875 insertions(+), 770 deletions(-) diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs index a69bff1..d12d391 100644 --- a/src/Generator/Program.cs +++ b/src/Generator/Program.cs @@ -1,6 +1,7 @@ // Copyright © Amer Koleci and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. +using System; using System.Globalization; using System.Text; using Newtonsoft.Json; @@ -1167,15 +1168,6 @@ public static class Program continue; } - // PROPVARIANT - //if (comType.Name == "IWICEnumMetadataItem" || - // comType.Name == "IWICMetadataReader" || - // comType.Name == "IWICMetadataBlockReader" || - // comType.Name == "IWICMetadataBlockWriter") - //{ - // continue; - //} - if (!regionWritten) { writer.WriteLine("#region COM Types"); @@ -1183,6 +1175,7 @@ public static class Program } // Generate methods + // TODO: FIX broken VTable ID3D12Heap, ID2D1Factory2 List> methodsToGenerate = new(); ApiType iterateType = comType; while (iterateType.Interface != null @@ -1893,15 +1886,41 @@ public static class Program method.Params.All(item => item.Attrs.Any(attr => attr is string str && str == "Optional")); } + bool useReturnAsParameter = false; + if (returnType != "void" && + method.ReturnType.TargetKind != "Com" && + method.ReturnType.Kind == "ApiRef" && + !IsPrimitive(method.ReturnType) && + !IsEnum(method.ReturnType)) + { + useReturnAsParameter = true; + } + + // Return type + returnType = NormalizeTypeName(writer.Api, returnType); + + string returnMarshalType = returnType; + if (returnMarshalType.ToLower() == "hresult") + { + returnMarshalType = "int"; + } + + if (useReturnAsParameter) + { + argumentsTypesBuilder.Append(returnMarshalType); + argumentsTypesBuilder.Append('*'); + + if (method.Params.Count > 0) + { + argumentsTypesBuilder.Append(", "); + } + } + foreach (ApiParameter parameter in method.Params) { bool asPointer = false; string parameterType = string.Empty; - if (method.Name == "CreateBitmap" && comType.Name == "ID2D1RenderTarget") - { - } - if (parameter.Type.Kind == "ApiRef") { if (parameter.Type.TargetKind == "FunctionPointer") @@ -1977,6 +1996,7 @@ public static class Program } parameterName = CleanupName(parameterName); + parameterType = NormalizeTypeName(writer.Api, parameterType); argumentBuilder.Append(parameterType).Append(' ').Append(parameterName); if (allOptional == true && isOptional == true) @@ -1997,19 +2017,16 @@ public static class Program parameterIndex++; } - // Return type - string returnMarshalType = returnType; - if (returnMarshalType.ToLower() == "hresult") - { - returnMarshalType = "int"; - } - - if (method.Params.Count > 0) + if (method.Params.Count > 0 || useReturnAsParameter) { argumentsTypesBuilder.Append(", "); } argumentsTypesBuilder.Append(returnMarshalType); + if (useReturnAsParameter) + { + argumentsTypesBuilder.Append('*'); + } string argumentsString = argumentBuilder.ToString(); string argumentTypesString = argumentsTypesBuilder.ToString(); @@ -2043,8 +2060,23 @@ public static class Program using (writer.PushBlock($"public {methodSuffix}{returnType} {method.Name}({argumentsString})")) { if (returnType != "void") - writer.Write("return "); - writer.WriteLine($"((delegate* unmanaged[Stdcall]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this){argumentNamesString});"); + { + if (useReturnAsParameter) + { + writer.WriteLine($"{returnType} result;"); + writer.Write("return "); + writer.WriteLine($"*((delegate* unmanaged[Stdcall]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this), &result{argumentNamesString});"); + } + else + { + writer.Write("return "); + } + } + + if (!useReturnAsParameter) + { + writer.WriteLine($"((delegate* unmanaged[Stdcall]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this){argumentNamesString});"); + } } needNewLine = true; @@ -2556,6 +2588,17 @@ public static class Program return IsPrimitive(typeName); } + private static bool IsEnum(ApiDataType dataType) + { + if (dataType.Kind == "ApiRef") + { + string apiRefType = $"{dataType.Api}.{dataType.Name}"; + return IsEnum(apiRefType); + } + + return false; + } + private static bool IsEnum(string typeName) { return s_visitedEnums.Contains(typeName); diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D.cs index 9e21de3..1f01973 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D.cs @@ -5712,9 +5712,10 @@ public unsafe partial struct ID2D1Bitmap /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } /// @@ -5838,17 +5839,17 @@ public unsafe partial struct ID2D1GradientStopCollection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.Gamma GetColorInterpolationGamma() + public Gamma GetColorInterpolationGamma() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.ExtendMode GetExtendMode() + public ExtendMode GetExtendMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } } @@ -6090,25 +6091,25 @@ public unsafe partial struct ID2D1BitmapBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.Direct2D.ExtendMode GetExtendModeX() + public ExtendMode GetExtendModeX() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.Direct2D.ExtendMode GetExtendModeY() + public ExtendMode GetExtendModeY() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.Direct2D.BitmapInterpolationMode GetInterpolationMode() + public BitmapInterpolationMode GetInterpolationMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } /// @@ -6232,9 +6233,10 @@ public unsafe partial struct ID2D1SolidColorBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct2D.Common.ColorF GetColor() + public Common.ColorF GetColor() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this)); + Common.ColorF result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result); } } @@ -6360,7 +6362,8 @@ public unsafe partial struct ID2D1LinearGradientBrush [VtblIndex(10)] public System.Drawing.PointF GetStartPoint() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this)); + System.Drawing.PointF result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -6368,7 +6371,8 @@ public unsafe partial struct ID2D1LinearGradientBrush [VtblIndex(11)] public System.Drawing.PointF GetEndPoint() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this)); + System.Drawing.PointF result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -6518,7 +6522,8 @@ public unsafe partial struct ID2D1RadialGradientBrush [VtblIndex(12)] public System.Drawing.PointF GetCenter() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); + System.Drawing.PointF result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -6526,7 +6531,8 @@ public unsafe partial struct ID2D1RadialGradientBrush [VtblIndex(13)] public System.Drawing.PointF GetGradientOriginOffset() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); + System.Drawing.PointF result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); } /// @@ -6626,25 +6632,25 @@ public unsafe partial struct ID2D1StrokeStyle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct2D.CapStyle GetStartCap() + public CapStyle GetStartCap() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct2D.CapStyle GetEndCap() + public CapStyle GetEndCap() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.CapStyle GetDashCap() + public CapStyle GetDashCap() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -6658,9 +6664,9 @@ public unsafe partial struct ID2D1StrokeStyle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct2D.LineJoin GetLineJoin() + public LineJoin GetLineJoin() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -6674,9 +6680,9 @@ public unsafe partial struct ID2D1StrokeStyle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct2D.DashStyle GetDashStyle() + public DashStyle GetDashStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } /// @@ -7592,9 +7598,9 @@ public unsafe partial struct ID2D1GeometryGroup /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public Graphics.Direct2D.Common.FillMode GetFillMode() + public Common.FillMode GetFillMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); } /// @@ -8782,9 +8788,9 @@ public unsafe partial struct ID2D1RenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -8798,9 +8804,9 @@ public unsafe partial struct ID2D1RenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -8918,9 +8924,10 @@ public unsafe partial struct ID2D1RenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result); } /// @@ -9268,9 +9275,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -9284,9 +9291,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -9404,9 +9411,10 @@ public unsafe partial struct ID2D1BitmapRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result); } /// @@ -9770,9 +9778,9 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -9786,9 +9794,9 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -9906,9 +9914,10 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result); } /// @@ -9970,9 +9979,9 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] - public Graphics.Direct2D.WindowState CheckWindowState() + public WindowState CheckWindowState() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -10366,9 +10375,9 @@ public unsafe partial struct ID2D1DCRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -10382,9 +10391,9 @@ public unsafe partial struct ID2D1DCRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); } /// @@ -10502,9 +10511,10 @@ public unsafe partial struct ID2D1DCRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result); } /// @@ -11480,25 +11490,25 @@ public unsafe partial struct ID2D1ImageBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.Direct2D.ExtendMode GetExtendModeX() + public ExtendMode GetExtendModeX() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.Direct2D.ExtendMode GetExtendModeY() + public ExtendMode GetExtendModeY() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public Graphics.Direct2D.InterpolationMode GetInterpolationMode() + public InterpolationMode GetInterpolationMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } /// @@ -11606,25 +11616,25 @@ public unsafe partial struct ID2D1BitmapBrush1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.ExtendMode GetExtendModeX() + public ExtendMode GetExtendModeX() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct2D.ExtendMode GetExtendModeY() + public ExtendMode GetExtendModeY() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct2D.BitmapInterpolationMode GetInterpolationMode() + public BitmapInterpolationMode GetInterpolationMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } /// @@ -11686,9 +11696,9 @@ public unsafe partial struct ID2D1BitmapBrush1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public Graphics.Direct2D.InterpolationMode GetInterpolationMode1() + public InterpolationMode GetInterpolationMode1() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); } } @@ -11756,25 +11766,25 @@ public unsafe partial struct ID2D1StrokeStyle1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct2D.CapStyle GetStartCap() + public CapStyle GetStartCap() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct2D.CapStyle GetEndCap() + public CapStyle GetEndCap() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct2D.CapStyle GetDashCap() + public CapStyle GetDashCap() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -11788,9 +11798,9 @@ public unsafe partial struct ID2D1StrokeStyle1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.LineJoin GetLineJoin() + public LineJoin GetLineJoin() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -11804,9 +11814,9 @@ public unsafe partial struct ID2D1StrokeStyle1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct2D.DashStyle GetDashStyle() + public DashStyle GetDashStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } /// @@ -11836,9 +11846,9 @@ public unsafe partial struct ID2D1StrokeStyle1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.Direct2D.StrokeTransformType GetStrokeTransformType() + public StrokeTransformType GetStrokeTransformType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); } } @@ -12144,9 +12154,9 @@ public unsafe partial struct ID2D1Properties /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.PropertyType GetType(uint index) + public PropertyType GetType(uint index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index); } /// @@ -12294,9 +12304,9 @@ public unsafe partial struct ID2D1Effect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.PropertyType GetType(uint index) + public PropertyType GetType(uint index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index); } /// @@ -12476,9 +12486,10 @@ public unsafe partial struct ID2D1Bitmap1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result); } /// @@ -12532,9 +12543,9 @@ public unsafe partial struct ID2D1Bitmap1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.Direct2D.BitmapOptions GetOptions() + public BitmapOptions GetOptions() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); } /// @@ -12634,9 +12645,9 @@ public unsafe partial struct ID2D1ColorContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct2D.ColorSpace GetColorSpace() + public ColorSpace GetColorSpace() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); } /// @@ -12736,17 +12747,17 @@ public unsafe partial struct ID2D1GradientStopCollection1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct2D.Gamma GetColorInterpolationGamma() + public Gamma GetColorInterpolationGamma() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.ExtendMode GetExtendMode() + public ExtendMode GetExtendMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// @@ -12768,33 +12779,33 @@ public unsafe partial struct ID2D1GradientStopCollection1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct2D.ColorSpace GetPreInterpolationSpace() + public ColorSpace GetPreInterpolationSpace() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct2D.ColorSpace GetPostInterpolationSpace() + public ColorSpace GetPostInterpolationSpace() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Direct2D.BufferPrecision GetBufferPrecision() + public BufferPrecision GetBufferPrecision() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.Direct2D.ColorInterpolationMode GetColorInterpolationMode() + public ColorInterpolationMode GetColorInterpolationMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } } @@ -13212,9 +13223,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -13228,9 +13239,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -13348,9 +13359,10 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), &result); } /// @@ -13588,9 +13600,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(79)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -13604,9 +13616,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(81)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -15608,17 +15620,17 @@ public unsafe partial struct ID2D1BorderTransform /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct2D.ExtendMode GetExtendModeX() + public ExtendMode GetExtendModeX() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct2D.ExtendMode GetExtendModeY() + public ExtendMode GetExtendModeY() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); } } @@ -15704,7 +15716,8 @@ public unsafe partial struct ID2D1OffsetTransform [VtblIndex(5)] public System.Drawing.Point GetOffset() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this)); + System.Drawing.Point result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result); } } @@ -16420,9 +16433,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -16436,9 +16449,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -16756,9 +16769,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -16772,9 +16785,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(69)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -16892,9 +16905,10 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(84)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), &result); } /// @@ -17082,9 +17096,9 @@ public unsafe partial struct ID2D1Device1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct2D.RenderingPriority GetRenderingPriority() + public RenderingPriority GetRenderingPriority() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Device1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Device1*)Unsafe.AsPointer(ref this)); } /// @@ -17818,9 +17832,9 @@ public unsafe partial struct ID2D1SvgPaint /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.SvgPaintType GetPaintType() + public SvgPaintType GetPaintType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this)); } /// @@ -18838,9 +18852,9 @@ public unsafe partial struct ID2D1InkStyle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.InkNibShape GetNibShape() + public InkNibShape GetNibShape() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this)); } } @@ -18924,9 +18938,10 @@ public unsafe partial struct ID2D1Ink /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct2D.InkPoint GetStartPoint() + public InkPoint GetStartPoint() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this)); + InkPoint result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result); } /// @@ -19696,9 +19711,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -19712,9 +19727,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -20032,9 +20047,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(70)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -20048,9 +20063,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -20168,9 +20183,10 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(87)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), &result); } /// @@ -20382,9 +20398,9 @@ public unsafe partial struct ID2D1Device2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct2D.RenderingPriority GetRenderingPriority() + public RenderingPriority GetRenderingPriority() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Device2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Device2*)Unsafe.AsPointer(ref this)); } /// @@ -21674,9 +21690,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -21690,9 +21706,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -22010,9 +22026,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(81)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -22026,9 +22042,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(83)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -22146,9 +22162,10 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(98)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), &result); } /// @@ -22312,9 +22329,9 @@ public unsafe partial struct ID2D1Device3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct2D.RenderingPriority GetRenderingPriority() + public RenderingPriority GetRenderingPriority() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Device3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Device3*)Unsafe.AsPointer(ref this)); } /// @@ -23440,9 +23457,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -23456,9 +23473,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -23776,9 +23793,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(83)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -23792,9 +23809,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(85)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -23912,9 +23929,10 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(100)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), &result); } /// @@ -24126,9 +24144,9 @@ public unsafe partial struct ID2D1Device4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.RenderingPriority GetRenderingPriority() + public RenderingPriority GetRenderingPriority() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); } /// @@ -24872,9 +24890,9 @@ public unsafe partial struct ID2D1ColorContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct2D.ColorSpace GetColorSpace() + public ColorSpace GetColorSpace() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } /// @@ -24904,9 +24922,9 @@ public unsafe partial struct ID2D1ColorContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.Direct2D.ColorContextType GetColorContextType() + public ColorContextType GetColorContextType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } /// @@ -25350,9 +25368,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -25366,9 +25384,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -25686,9 +25704,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(90)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -25702,9 +25720,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(92)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); } /// @@ -25822,9 +25840,10 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(107)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), &result); } /// @@ -26036,9 +26055,9 @@ public unsafe partial struct ID2D1Device5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct2D.RenderingPriority GetRenderingPriority() + public RenderingPriority GetRenderingPriority() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); } /// @@ -27174,9 +27193,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public Graphics.Direct2D.PrimitiveBlend GetPrimitiveBlend() + public PrimitiveBlend GetPrimitiveBlend() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -27190,9 +27209,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public Graphics.Direct2D.UnitMode GetUnitMode() + public UnitMode GetUnitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -27510,9 +27529,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(94)] - public Graphics.Direct2D.AntialiasMode GetAntialiasMode() + public AntialiasMode GetAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -27526,9 +27545,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(96)] - public Graphics.Direct2D.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); } /// @@ -27646,9 +27665,10 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(111)] - public Graphics.Direct2D.Common.PixelFormat GetPixelFormat() + public Common.PixelFormat GetPixelFormat() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this)); + Common.PixelFormat result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result); } /// @@ -27844,9 +27864,9 @@ public unsafe partial struct ID2D1Device6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Direct2D.RenderingPriority GetRenderingPriority() + public RenderingPriority GetRenderingPriority() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Device6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Device6*)Unsafe.AsPointer(ref this)); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs index ae81ccd..2c36e62 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs @@ -1740,17 +1740,17 @@ public unsafe partial struct IDxcResult /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct3D.Dxc.DxcOutKind GetOutputByIndex(uint Index) + public DxcOutKind GetOutputByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDxcResult*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDxcResult*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D.Dxc.DxcOutKind PrimaryOutput() + public DxcOutKind PrimaryOutput() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDxcResult*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDxcResult*)Unsafe.AsPointer(ref this)); } } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs index f22e0f7..2a34e83 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs @@ -17431,9 +17431,9 @@ public unsafe partial struct ID3D11DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(112)] - public new Graphics.Direct3D11.DeviceContextType GetType() + public new DeviceContextType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); } /// @@ -21525,9 +21525,9 @@ public unsafe partial struct ID3D11DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(108)] - public new Graphics.Direct3D11.DeviceContextType GetType() + public new DeviceContextType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); } /// @@ -24369,9 +24369,9 @@ public unsafe partial struct ID3D11DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(127)] - public new Graphics.Direct3D11.DeviceContextType GetType() + public new DeviceContextType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[127]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[127]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); } /// @@ -26967,9 +26967,9 @@ public unsafe partial struct ID3D11DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(137)] - public new Graphics.Direct3D11.DeviceContextType GetType() + public new DeviceContextType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[137]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[137]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); } /// @@ -28323,9 +28323,9 @@ public unsafe partial struct ID3D11DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(140)] - public new Graphics.Direct3D11.DeviceContextType GetType() + public new DeviceContextType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[140]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[140]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); } /// @@ -31919,17 +31919,17 @@ public unsafe partial struct ID3D11ShaderReflectionType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D11.ID3D11ShaderReflectionType GetMemberTypeByIndex(uint Index) + public ID3D11ShaderReflectionType GetMemberTypeByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D11.ID3D11ShaderReflectionType GetMemberTypeByName(sbyte* Name) + public ID3D11ShaderReflectionType GetMemberTypeByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); } /// @@ -31951,17 +31951,17 @@ public unsafe partial struct ID3D11ShaderReflectionType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D11.ID3D11ShaderReflectionType GetSubType() + public ID3D11ShaderReflectionType GetSubType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct3D11.ID3D11ShaderReflectionType GetBaseClass() + public ID3D11ShaderReflectionType GetBaseClass() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this)); } /// @@ -31975,9 +31975,9 @@ public unsafe partial struct ID3D11ShaderReflectionType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct3D11.ID3D11ShaderReflectionType GetInterfaceByIndex(uint uIndex) + public ID3D11ShaderReflectionType GetInterfaceByIndex(uint uIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); } /// @@ -32041,17 +32041,17 @@ public unsafe partial struct ID3D11ShaderReflectionVariable /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public new Graphics.Direct3D11.ID3D11ShaderReflectionType GetType() + public new ID3D11ShaderReflectionType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetBuffer() + public ID3D11ShaderReflectionConstantBuffer GetBuffer() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); } /// @@ -32107,17 +32107,17 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByIndex(uint Index) + public ID3D11ShaderReflectionVariable GetVariableByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name) + public ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); } } @@ -32193,17 +32193,17 @@ public unsafe partial struct ID3D11ShaderReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index) + public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) + public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -32241,9 +32241,9 @@ public unsafe partial struct ID3D11ShaderReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name) + public ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -32407,9 +32407,9 @@ public unsafe partial struct ID3D11LibraryReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D11.ID3D11FunctionReflection GetFunctionByIndex(int FunctionIndex) + public ID3D11FunctionReflection GetFunctionByIndex(int FunctionIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); } } @@ -32457,17 +32457,17 @@ public unsafe partial struct ID3D11FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex) + public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D11.ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) + public ID3D11ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -32481,9 +32481,9 @@ public unsafe partial struct ID3D11FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D11.ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name) + public ID3D11ShaderReflectionVariable GetVariableByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -32497,9 +32497,9 @@ public unsafe partial struct ID3D11FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct3D11.ID3D11FunctionParameterReflection GetFunctionParameter(int ParameterIndex) + public ID3D11FunctionParameterReflection GetFunctionParameter(int ParameterIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); } } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs index f0cf6bd..242bca3 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D12.cs @@ -12442,9 +12442,9 @@ public unsafe partial struct ID3D12RootSignatureDeserializer /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct3D12.RootSignatureDescription* GetRootSignatureDesc() + public RootSignatureDescription* GetRootSignatureDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12RootSignatureDeserializer*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12RootSignatureDeserializer*)Unsafe.AsPointer(ref this)); } } @@ -12520,9 +12520,9 @@ public unsafe partial struct ID3D12VersionedRootSignatureDeserializer /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.VersionedRootSignatureDescription* GetUnconvertedRootSignatureDesc() + public VersionedRootSignatureDescription* GetUnconvertedRootSignatureDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12VersionedRootSignatureDeserializer*)Unsafe.AsPointer(ref this)); } } @@ -12732,9 +12732,10 @@ public unsafe partial struct ID3D12Heap /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct3D12.HeapDescription GetDesc() + public HeapDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this)); + HeapDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this), &result); } } @@ -12858,9 +12859,10 @@ public unsafe partial struct ID3D12Resource /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D12.ResourceDescription GetDesc() + public ResourceDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Resource*)Unsafe.AsPointer(ref this)); + ResourceDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Resource*)Unsafe.AsPointer(ref this), &result); } /// @@ -13260,9 +13262,9 @@ public unsafe partial struct ID3D12Fence1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Direct3D12.FenceFlags GetCreationFlags() + public FenceFlags GetCreationFlags() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Fence1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Fence1*)Unsafe.AsPointer(ref this)); } } @@ -13480,25 +13482,28 @@ public unsafe partial struct ID3D12DescriptorHeap /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct3D12.DescriptorHeapDescription GetDesc() + public DescriptorHeapDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); + DescriptorHeapDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct3D12.CpuDescriptorHandle GetCPUDescriptorHandleForHeapStart() + public CpuDescriptorHandle GetCPUDescriptorHandleForHeapStart() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); + CpuDescriptorHandle result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D12.GpuDescriptorHandle GetGPUDescriptorHandleForHeapStart() + public GpuDescriptorHandle GetGPUDescriptorHandleForHeapStart() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this)); + GpuDescriptorHandle result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } } @@ -13810,9 +13815,9 @@ public unsafe partial struct ID3D12CommandList /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); } } @@ -13880,9 +13885,9 @@ public unsafe partial struct ID3D12GraphicsCommandList /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this)); } /// @@ -14806,9 +14811,9 @@ public unsafe partial struct ID3D12GraphicsCommandList1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D12GraphicsCommandList1*)Unsafe.AsPointer(ref this)); } /// @@ -15420,9 +15425,9 @@ public unsafe partial struct ID3D12GraphicsCommandList2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(60)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID3D12GraphicsCommandList2*)Unsafe.AsPointer(ref this)); } /// @@ -15658,9 +15663,10 @@ public unsafe partial struct ID3D12CommandQueue /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public Graphics.Direct3D12.CommandQueueDescription GetDesc() + public CommandQueueDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this)); + CommandQueueDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), &result); } } @@ -15904,17 +15910,19 @@ public unsafe partial struct ID3D12Device /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -16554,17 +16562,19 @@ public unsafe partial struct ID3D12Device1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device1*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12Device1*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device1*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12Device1*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -16992,17 +17002,19 @@ public unsafe partial struct ID3D12Device2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device2*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device2*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device2*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device2*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -17422,17 +17434,19 @@ public unsafe partial struct ID3D12Device3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device3*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12Device3*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device3*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12Device3*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -17740,9 +17754,9 @@ public unsafe partial struct ID3D12ProtectedSession /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.Direct3D12.ProtectedSessionStatus GetSessionStatus() + public ProtectedSessionStatus GetSessionStatus() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12ProtectedSession*)Unsafe.AsPointer(ref this)); } } @@ -17818,9 +17832,9 @@ public unsafe partial struct ID3D12ProtectedResourceSession /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.ProtectedSessionStatus GetSessionStatus() + public ProtectedSessionStatus GetSessionStatus() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); } /// @@ -17866,9 +17880,10 @@ public unsafe partial struct ID3D12ProtectedResourceSession /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D12.ProtectedResourceSessionDescription GetDesc() + public ProtectedResourceSessionDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this)); + ProtectedResourceSessionDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ProtectedResourceSession*)Unsafe.AsPointer(ref this), &result); } } @@ -18136,17 +18151,19 @@ public unsafe partial struct ID3D12Device4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device4*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12Device4*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device4*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12Device4*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -18360,9 +18377,10 @@ public unsafe partial struct ID3D12Device4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device4*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID3D12Device4*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } } @@ -18940,9 +18958,10 @@ public unsafe partial struct ID3D12Device5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device5*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Device5*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -19148,17 +19167,19 @@ public unsafe partial struct ID3D12Device5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device5*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12Device5*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device5*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12Device5*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -19388,9 +19409,9 @@ public unsafe partial struct ID3D12Device5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(64)] - public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) + public DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device5*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); + return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID3D12Device5*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); } } @@ -19850,9 +19871,9 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct3D12.DredDeviceState GetDeviceState() + public DredDeviceState GetDeviceState() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12DeviceRemovedExtendedData2*)Unsafe.AsPointer(ref this)); } } @@ -19976,9 +19997,9 @@ public unsafe partial struct ID3D12Device6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) + public DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device6*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Device6*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); } /// @@ -20024,9 +20045,10 @@ public unsafe partial struct ID3D12Device6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device6*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Device6*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -20232,17 +20254,19 @@ public unsafe partial struct ID3D12Device6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device6*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D12Device6*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device6*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device6*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -20486,9 +20510,10 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct3D12.ProtectedResourceSessionDescription GetDesc() + public ProtectedResourceSessionDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); + ProtectedResourceSessionDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), &result); } /// @@ -20502,9 +20527,9 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D12.ProtectedSessionStatus GetSessionStatus() + public ProtectedSessionStatus GetSessionStatus() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); } /// @@ -20550,9 +20575,10 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Direct3D12.ProtectedResourceSessionDescription1 GetDesc1() + public ProtectedResourceSessionDescription1 GetDesc1() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this)); + ProtectedResourceSessionDescription1 result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ProtectedResourceSession1*)Unsafe.AsPointer(ref this), &result); } } @@ -20684,9 +20710,9 @@ public unsafe partial struct ID3D12Device7 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) + public DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device7*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12Device7*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); } /// @@ -20732,9 +20758,10 @@ public unsafe partial struct ID3D12Device7 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device7*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12Device7*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -20940,17 +20967,19 @@ public unsafe partial struct ID3D12Device7 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device7*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device7*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device7*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D12Device7*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -21282,9 +21311,9 @@ public unsafe partial struct ID3D12Device8 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) + public DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device8*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12Device8*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); } /// @@ -21330,9 +21359,10 @@ public unsafe partial struct ID3D12Device8 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12Device8*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -21538,17 +21568,19 @@ public unsafe partial struct ID3D12Device8 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D12Device8*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device8*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D12Device8*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -21722,9 +21754,10 @@ public unsafe partial struct ID3D12Device8 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(68)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo2(uint visibleMask, uint numResourceDescs, ResourceDescription1* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo2(uint visibleMask, uint numResourceDescs, ResourceDescription1* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12Device8*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID3D12Device8*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -21840,9 +21873,10 @@ public unsafe partial struct ID3D12Resource1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D12.ResourceDescription GetDesc() + public ResourceDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Resource1*)Unsafe.AsPointer(ref this)); + ResourceDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Resource1*)Unsafe.AsPointer(ref this), &result); } /// @@ -22014,9 +22048,10 @@ public unsafe partial struct ID3D12Resource2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct3D12.ResourceDescription GetDesc() + public ResourceDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); + ResourceDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), &result); } /// @@ -22094,9 +22129,10 @@ public unsafe partial struct ID3D12Resource2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public Graphics.Direct3D12.ResourceDescription1 GetDesc1() + public ResourceDescription1 GetDesc1() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Resource2*)Unsafe.AsPointer(ref this)); + ResourceDescription1 result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12Resource2*)Unsafe.AsPointer(ref this), &result); } } @@ -22164,9 +22200,10 @@ public unsafe partial struct ID3D12Heap1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct3D12.HeapDescription GetDesc() + public HeapDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Heap1*)Unsafe.AsPointer(ref this)); + HeapDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Heap1*)Unsafe.AsPointer(ref this), &result); } /// @@ -22746,9 +22783,9 @@ public unsafe partial struct ID3D12GraphicsCommandList3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(61)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID3D12GraphicsCommandList3*)Unsafe.AsPointer(ref this)); } /// @@ -23446,9 +23483,9 @@ public unsafe partial struct ID3D12GraphicsCommandList4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(62)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID3D12GraphicsCommandList4*)Unsafe.AsPointer(ref this)); } /// @@ -23692,9 +23729,10 @@ public unsafe partial struct ID3D12ShaderCacheSession /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Direct3D12.ShaderCacheSessionDescription GetDesc() + public ShaderCacheSessionDescription GetDesc() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this)); + ShaderCacheSessionDescription result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12ShaderCacheSession*)Unsafe.AsPointer(ref this), &result); } } @@ -23762,9 +23800,10 @@ public unsafe partial struct ID3D12Device9 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo2(uint visibleMask, uint numResourceDescs, ResourceDescription1* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo2(uint visibleMask, uint numResourceDescs, ResourceDescription1* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Device9*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -23882,9 +23921,9 @@ public unsafe partial struct ID3D12Device9 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public Graphics.Direct3D12.DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) + public DriverMatchingIdentifierStatus CheckDriverMatchingIdentifier(SerializedDataType SerializedDataType, SerializedDataDriverMatchingIdentifier* pIdentifierToCheck) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device9*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); + return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12Device9*)Unsafe.AsPointer(ref this), SerializedDataType, pIdentifierToCheck); } /// @@ -23930,9 +23969,10 @@ public unsafe partial struct ID3D12Device9 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) + public ResourceAllocationInfo GetResourceAllocationInfo1(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs, ResourceAllocationInfo1* pResourceAllocationInfo1) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12Device9*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs, pResourceAllocationInfo1); } /// @@ -24138,17 +24178,19 @@ public unsafe partial struct ID3D12Device9 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public Graphics.Direct3D12.ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) + public ResourceAllocationInfo GetResourceAllocationInfo(uint visibleMask, uint numResourceDescs, ResourceDescription* pResourceDescs) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device9*)Unsafe.AsPointer(ref this), visibleMask, numResourceDescs, pResourceDescs); + ResourceAllocationInfo result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12Device9*)Unsafe.AsPointer(ref this), &result, visibleMask, numResourceDescs, pResourceDescs); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public Graphics.Direct3D12.HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) + public HeapProperties GetCustomHeapProperties(uint nodeMask, HeapType heapType) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device9*)Unsafe.AsPointer(ref this), nodeMask, heapType); + HeapProperties result; + return *((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D12Device9*)Unsafe.AsPointer(ref this), &result, nodeMask, heapType); } /// @@ -25112,9 +25154,9 @@ public unsafe partial struct ID3D12DebugDevice /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.DebugFeature GetFeatureMask() + public DebugFeature GetFeatureMask() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice*)Unsafe.AsPointer(ref this)); } /// @@ -25198,9 +25240,9 @@ public unsafe partial struct ID3D12DebugDevice2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.DebugFeature GetFeatureMask() + public DebugFeature GetFeatureMask() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12DebugDevice2*)Unsafe.AsPointer(ref this)); } /// @@ -25464,9 +25506,9 @@ public unsafe partial struct ID3D12DebugCommandList /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D12.DebugFeature GetFeatureMask() + public DebugFeature GetFeatureMask() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList*)Unsafe.AsPointer(ref this)); } } @@ -25550,9 +25592,9 @@ public unsafe partial struct ID3D12DebugCommandList2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D12.DebugFeature GetFeatureMask() + public DebugFeature GetFeatureMask() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12DebugCommandList2*)Unsafe.AsPointer(ref this)); } /// @@ -27044,9 +27086,9 @@ public unsafe partial struct ID3D12GraphicsCommandList5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(71)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D12GraphicsCommandList5*)Unsafe.AsPointer(ref this)); } /// @@ -27730,9 +27772,9 @@ public unsafe partial struct ID3D12GraphicsCommandList6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(73)] - public new Graphics.Direct3D12.CommandListType GetType() + public new CommandListType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D12GraphicsCommandList6*)Unsafe.AsPointer(ref this)); } /// @@ -27828,17 +27870,17 @@ public unsafe partial struct ID3D12ShaderReflectionType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D12.ID3D12ShaderReflectionType GetMemberTypeByIndex(uint Index) + public ID3D12ShaderReflectionType GetMemberTypeByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D12.ID3D12ShaderReflectionType GetMemberTypeByName(sbyte* Name) + public ID3D12ShaderReflectionType GetMemberTypeByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); } /// @@ -27860,17 +27902,17 @@ public unsafe partial struct ID3D12ShaderReflectionType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D12.ID3D12ShaderReflectionType GetSubType() + public ID3D12ShaderReflectionType GetSubType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct3D12.ID3D12ShaderReflectionType GetBaseClass() + public ID3D12ShaderReflectionType GetBaseClass() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this)); } /// @@ -27884,9 +27926,9 @@ public unsafe partial struct ID3D12ShaderReflectionType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.Direct3D12.ID3D12ShaderReflectionType GetInterfaceByIndex(uint uIndex) + public ID3D12ShaderReflectionType GetInterfaceByIndex(uint uIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), uIndex); } /// @@ -27950,17 +27992,17 @@ public unsafe partial struct ID3D12ShaderReflectionVariable /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public new Graphics.Direct3D12.ID3D12ShaderReflectionType GetType() + public new ID3D12ShaderReflectionType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetBuffer() + public ID3D12ShaderReflectionConstantBuffer GetBuffer() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); } /// @@ -28016,17 +28058,17 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByIndex(uint Index) + public ID3D12ShaderReflectionVariable GetVariableByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByName(sbyte* Name) + public ID3D12ShaderReflectionVariable GetVariableByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); } } @@ -28102,17 +28144,17 @@ public unsafe partial struct ID3D12ShaderReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index) + public ID3D12ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint Index) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Index); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) + public ID3D12ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -28150,9 +28192,9 @@ public unsafe partial struct ID3D12ShaderReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByName(sbyte* Name) + public ID3D12ShaderReflectionVariable GetVariableByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -28316,9 +28358,9 @@ public unsafe partial struct ID3D12LibraryReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.ID3D12FunctionReflection GetFunctionByIndex(int FunctionIndex) + public ID3D12FunctionReflection GetFunctionByIndex(int FunctionIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12LibraryReflection*)Unsafe.AsPointer(ref this), FunctionIndex); } } @@ -28366,17 +28408,17 @@ public unsafe partial struct ID3D12FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex) + public ID3D12ShaderReflectionConstantBuffer GetConstantBufferByIndex(uint BufferIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), BufferIndex); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public Graphics.Direct3D12.ID3D12ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) + public ID3D12ShaderReflectionConstantBuffer GetConstantBufferByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -28390,9 +28432,9 @@ public unsafe partial struct ID3D12FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.Direct3D12.ID3D12ShaderReflectionVariable GetVariableByName(sbyte* Name) + public ID3D12ShaderReflectionVariable GetVariableByName(sbyte* Name) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -28406,9 +28448,9 @@ public unsafe partial struct ID3D12FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.Direct3D12.ID3D12FunctionParameterReflection GetFunctionParameter(int ParameterIndex) + public ID3D12FunctionParameterReflection GetFunctionParameter(int ParameterIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), ParameterIndex); } } diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs index 5a27326..b706c62 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs @@ -3487,17 +3487,17 @@ public unsafe partial struct IDWriteRenderingParams /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.PixelGeometry GetPixelGeometry() + public PixelGeometry GetPixelGeometry() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.DirectWrite.RenderingMode GetRenderingMode() + public RenderingMode GetRenderingMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } } @@ -3565,9 +3565,9 @@ public unsafe partial struct IDWriteFontFace /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -3589,9 +3589,9 @@ public unsafe partial struct IDWriteFontFace /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } /// @@ -4303,25 +4303,25 @@ public unsafe partial struct IDWriteFont /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -4351,9 +4351,9 @@ public unsafe partial struct IDWriteFont /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } /// @@ -4509,41 +4509,41 @@ public unsafe partial struct IDWriteTextFormat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -4597,25 +4597,25 @@ public unsafe partial struct IDWriteTextFormat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } /// @@ -4872,9 +4872,9 @@ public unsafe partial struct IDWriteTextAnalysisSource /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.ReadingDirection GetParagraphReadingDirection() + public ReadingDirection GetParagraphReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this)); } /// @@ -5532,41 +5532,41 @@ public unsafe partial struct IDWriteTextLayout /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -5620,25 +5620,25 @@ public unsafe partial struct IDWriteTextLayout /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } /// @@ -6832,9 +6832,9 @@ public unsafe partial struct IDWriteFontFace1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -6856,9 +6856,9 @@ public unsafe partial struct IDWriteFontFace1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } /// @@ -7118,25 +7118,25 @@ public unsafe partial struct IDWriteFont1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -7166,9 +7166,9 @@ public unsafe partial struct IDWriteFont1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont1*)Unsafe.AsPointer(ref this)); } /// @@ -7316,17 +7316,17 @@ public unsafe partial struct IDWriteRenderingParams1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.PixelGeometry GetPixelGeometry() + public PixelGeometry GetPixelGeometry() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.DirectWrite.RenderingMode GetRenderingMode() + public RenderingMode GetRenderingMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } /// @@ -7608,9 +7608,9 @@ public unsafe partial struct IDWriteTextAnalysisSource1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.ReadingDirection GetParagraphReadingDirection() + public ReadingDirection GetParagraphReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalysisSource1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalysisSource1*)Unsafe.AsPointer(ref this)); } /// @@ -8180,41 +8180,41 @@ public unsafe partial struct IDWriteTextLayout1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(53)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -8268,25 +8268,25 @@ public unsafe partial struct IDWriteTextLayout1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(61)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(62)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(63)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this)); } /// @@ -8474,9 +8474,9 @@ public unsafe partial struct IDWriteBitmapRenderTarget1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.TextAntialiasMode GetTextAntialiasMode() + public TextAntialiasMode GetTextAntialiasMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); } /// @@ -8766,41 +8766,41 @@ public unsafe partial struct IDWriteTextFormat1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -8854,25 +8854,25 @@ public unsafe partial struct IDWriteTextFormat1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -8910,9 +8910,9 @@ public unsafe partial struct IDWriteTextFormat1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public Graphics.DirectWrite.VerticalGlyphOrientation GetVerticalGlyphOrientation() + public VerticalGlyphOrientation GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -8942,9 +8942,9 @@ public unsafe partial struct IDWriteTextFormat1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public Graphics.DirectWrite.OpticalAlignment GetOpticalAlignment() + public OpticalAlignment GetOpticalAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } /// @@ -9436,41 +9436,41 @@ public unsafe partial struct IDWriteTextLayout2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(55)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -9524,25 +9524,25 @@ public unsafe partial struct IDWriteTextLayout2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(65)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(66)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -9588,9 +9588,9 @@ public unsafe partial struct IDWriteTextLayout2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(73)] - public Graphics.DirectWrite.VerticalGlyphOrientation GetVerticalGlyphOrientation() + public VerticalGlyphOrientation GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -9620,9 +9620,9 @@ public unsafe partial struct IDWriteTextLayout2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(77)] - public Graphics.DirectWrite.OpticalAlignment GetOpticalAlignment() + public OpticalAlignment GetOpticalAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } /// @@ -10116,25 +10116,25 @@ public unsafe partial struct IDWriteFont2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -10164,9 +10164,9 @@ public unsafe partial struct IDWriteFont2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } /// @@ -10362,9 +10362,9 @@ public unsafe partial struct IDWriteFontFace2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -10386,9 +10386,9 @@ public unsafe partial struct IDWriteFontFace2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } /// @@ -10694,25 +10694,25 @@ public unsafe partial struct IDWriteRenderingParams2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.DirectWrite.PixelGeometry GetPixelGeometry() + public PixelGeometry GetPixelGeometry() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.DirectWrite.RenderingMode GetRenderingMode() + public RenderingMode GetRenderingMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.GridFitMode GetGridFitMode() + public GridFitMode GetGridFitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } } @@ -11066,9 +11066,9 @@ public unsafe partial struct IDWriteRenderingParams3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.DirectWrite.GridFitMode GetGridFitMode() + public GridFitMode GetGridFitMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// @@ -11106,25 +11106,25 @@ public unsafe partial struct IDWriteRenderingParams3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.DirectWrite.PixelGeometry GetPixelGeometry() + public PixelGeometry GetPixelGeometry() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.RenderingMode GetRenderingMode() + public RenderingMode GetRenderingMode() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.RenderingMode1 GetRenderingMode1() + public RenderingMode1 GetRenderingMode1() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } } @@ -11944,9 +11944,9 @@ public unsafe partial struct IDWriteFontFamily1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this), listIndex); } /// @@ -12054,9 +12054,9 @@ public unsafe partial struct IDWriteFontList1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontList1*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontList1*)Unsafe.AsPointer(ref this), listIndex); } /// @@ -12172,9 +12172,9 @@ public unsafe partial struct IDWriteFontFaceReference /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } /// @@ -12212,9 +12212,9 @@ public unsafe partial struct IDWriteFontFaceReference /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.DirectWrite.Locality GetLocality() + public Locality GetLocality() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } /// @@ -12362,25 +12362,25 @@ public unsafe partial struct IDWriteFont3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -12410,9 +12410,9 @@ public unsafe partial struct IDWriteFont3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } /// @@ -12474,9 +12474,9 @@ public unsafe partial struct IDWriteFont3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.Locality GetLocality() + public Locality GetLocality() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } } @@ -12680,9 +12680,9 @@ public unsafe partial struct IDWriteFontFace3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -12704,9 +12704,9 @@ public unsafe partial struct IDWriteFontFace3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -12816,25 +12816,25 @@ public unsafe partial struct IDWriteFontFace3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } /// @@ -13398,9 +13398,9 @@ public unsafe partial struct IDWriteTextFormat2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.DirectWrite.VerticalGlyphOrientation GetVerticalGlyphOrientation() + public VerticalGlyphOrientation GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -13430,9 +13430,9 @@ public unsafe partial struct IDWriteTextFormat2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.DirectWrite.OpticalAlignment GetOpticalAlignment() + public OpticalAlignment GetOpticalAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -13518,41 +13518,41 @@ public unsafe partial struct IDWriteTextFormat2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -13606,25 +13606,25 @@ public unsafe partial struct IDWriteTextFormat2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this)); } /// @@ -13748,9 +13748,9 @@ public unsafe partial struct IDWriteTextLayout3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.VerticalGlyphOrientation GetVerticalGlyphOrientation() + public VerticalGlyphOrientation GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -13780,9 +13780,9 @@ public unsafe partial struct IDWriteTextLayout3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.OpticalAlignment GetOpticalAlignment() + public OpticalAlignment GetOpticalAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -14212,41 +14212,41 @@ public unsafe partial struct IDWriteTextLayout3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(63)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(64)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(65)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(66)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -14300,25 +14300,25 @@ public unsafe partial struct IDWriteTextLayout3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(74)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(75)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(76)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } /// @@ -14544,25 +14544,25 @@ public unsafe partial struct IDWriteFontFace4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -14776,9 +14776,9 @@ public unsafe partial struct IDWriteFontFace4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -14800,9 +14800,9 @@ public unsafe partial struct IDWriteFontFace4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -14904,9 +14904,9 @@ public unsafe partial struct IDWriteFontFace4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public Graphics.DirectWrite.GlyphImageFormats GetGlyphImageFormats() + public GlyphImageFormats GetGlyphImageFormats() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } /// @@ -15600,9 +15600,9 @@ public unsafe partial struct IDWriteRemoteFontFileStream /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.Locality GetLocality() + public Locality GetLocality() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRemoteFontFileStream*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRemoteFontFileStream*)Unsafe.AsPointer(ref this)); } /// @@ -16202,9 +16202,9 @@ public unsafe partial struct IDWriteFactory5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public Graphics.DirectWrite.ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) + public ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), fileData, fileDataSize); + return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), fileData, fileDataSize); } /// @@ -16304,9 +16304,9 @@ public unsafe partial struct IDWriteFactory6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) + public ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), fileData, fileDataSize); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), fileData, fileDataSize); } /// @@ -16766,9 +16766,9 @@ public unsafe partial struct IDWriteFontFace5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public Graphics.DirectWrite.GlyphImageFormats GetGlyphImageFormats() + public GlyphImageFormats GetGlyphImageFormats() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -16806,25 +16806,25 @@ public unsafe partial struct IDWriteFontFace5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -17038,9 +17038,9 @@ public unsafe partial struct IDWriteFontFace5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -17062,9 +17062,9 @@ public unsafe partial struct IDWriteFontFace5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } /// @@ -17300,9 +17300,9 @@ public unsafe partial struct IDWriteFontResource /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public Graphics.DirectWrite.FontAxisAttributes GetFontAxisAttributes(uint axisIndex) + public FontAxisAttributes GetFontAxisAttributes(uint axisIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), axisIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), axisIndex); } /// @@ -17450,9 +17450,9 @@ public unsafe partial struct IDWriteFontFaceReference1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); } /// @@ -17490,9 +17490,9 @@ public unsafe partial struct IDWriteFontFaceReference1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public Graphics.DirectWrite.Locality GetLocality() + public Locality GetLocality() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); } /// @@ -17910,9 +17910,9 @@ public unsafe partial struct IDWriteFontSet1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), listIndex); } } @@ -17980,9 +17980,9 @@ public unsafe partial struct IDWriteFontList2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontList2*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontList2*)Unsafe.AsPointer(ref this), listIndex); } /// @@ -18098,9 +18098,9 @@ public unsafe partial struct IDWriteFontFamily2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFamily2*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFamily2*)Unsafe.AsPointer(ref this), listIndex); } /// @@ -18312,9 +18312,9 @@ public unsafe partial struct IDWriteFontCollection2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.DirectWrite.FontFamilyModel GetFontFamilyModel() + public FontFamilyModel GetFontFamilyModel() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); } /// @@ -18438,9 +18438,9 @@ public unsafe partial struct IDWriteTextLayout4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.VerticalGlyphOrientation GetVerticalGlyphOrientation() + public VerticalGlyphOrientation GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -18470,9 +18470,9 @@ public unsafe partial struct IDWriteTextLayout4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.DirectWrite.OpticalAlignment GetOpticalAlignment() + public OpticalAlignment GetOpticalAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -18902,41 +18902,41 @@ public unsafe partial struct IDWriteTextLayout4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(68)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(69)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(70)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(71)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -18990,25 +18990,25 @@ public unsafe partial struct IDWriteTextLayout4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(78)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(79)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(80)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -19062,9 +19062,9 @@ public unsafe partial struct IDWriteTextLayout4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(87)] - public Graphics.DirectWrite.AutomaticFontAxes GetAutomaticFontAxes() + public AutomaticFontAxes GetAutomaticFontAxes() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } /// @@ -19164,9 +19164,9 @@ public unsafe partial struct IDWriteTextFormat3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public Graphics.DirectWrite.VerticalGlyphOrientation GetVerticalGlyphOrientation() + public VerticalGlyphOrientation GetVerticalGlyphOrientation() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -19196,9 +19196,9 @@ public unsafe partial struct IDWriteTextFormat3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public Graphics.DirectWrite.OpticalAlignment GetOpticalAlignment() + public OpticalAlignment GetOpticalAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -19284,41 +19284,41 @@ public unsafe partial struct IDWriteTextFormat3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public Graphics.DirectWrite.TextAlignment GetTextAlignment() + public TextAlignment GetTextAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public Graphics.DirectWrite.ParagraphAlignment GetParagraphAlignment() + public ParagraphAlignment GetParagraphAlignment() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public Graphics.DirectWrite.WordWrapping GetWordWrapping() + public WordWrapping GetWordWrapping() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public Graphics.DirectWrite.ReadingDirection GetReadingDirection() + public ReadingDirection GetReadingDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public Graphics.DirectWrite.FlowDirection GetFlowDirection() + public FlowDirection GetFlowDirection() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -19372,25 +19372,25 @@ public unsafe partial struct IDWriteTextFormat3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public Graphics.DirectWrite.FontWeight GetFontWeight() + public FontWeight GetFontWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public Graphics.DirectWrite.FontStyle GetFontStyle() + public FontStyle GetFontStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public Graphics.DirectWrite.FontStretch GetFontStretch() + public FontStretch GetFontStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -19444,9 +19444,9 @@ public unsafe partial struct IDWriteTextFormat3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public Graphics.DirectWrite.AutomaticFontAxes GetAutomaticFontAxes() + public AutomaticFontAxes GetAutomaticFontAxes() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } /// @@ -19696,9 +19696,9 @@ public unsafe partial struct IDWriteFontSet2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontSet2*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontSet2*)Unsafe.AsPointer(ref this), listIndex); } /// @@ -19870,9 +19870,9 @@ public unsafe partial struct IDWriteFontCollection3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Graphics.DirectWrite.FontFamilyModel GetFontFamilyModel() + public FontFamilyModel GetFontFamilyModel() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this)); } /// @@ -20084,9 +20084,9 @@ public unsafe partial struct IDWriteFactory7 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public Graphics.DirectWrite.ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) + public ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), fileData, fileDataSize); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), fileData, fileDataSize); } /// @@ -20602,9 +20602,9 @@ public unsafe partial struct IDWriteFontSet3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public Graphics.DirectWrite.Locality GetFontLocality(uint listIndex) + public Locality GetFontLocality(uint listIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this), listIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this), listIndex); } /// @@ -20690,9 +20690,9 @@ public unsafe partial struct IDWriteFontSet3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public Graphics.DirectWrite.FontSourceType GetFontSourceType(uint fontIndex) + public FontSourceType GetFontSourceType(uint fontIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this), fontIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this), fontIndex); } /// @@ -20824,9 +20824,9 @@ public unsafe partial struct IDWriteFontFace6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public Graphics.DirectWrite.GlyphImageFormats GetGlyphImageFormats() + public GlyphImageFormats GetGlyphImageFormats() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -20864,25 +20864,25 @@ public unsafe partial struct IDWriteFontFace6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public Graphics.DirectWrite.FontWeight GetWeight() + public FontWeight GetWeight() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public Graphics.DirectWrite.FontStretch GetStretch() + public FontStretch GetStretch() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public Graphics.DirectWrite.FontStyle GetStyle() + public FontStyle GetStyle() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -21096,9 +21096,9 @@ public unsafe partial struct IDWriteFontFace6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] - public new Graphics.DirectWrite.FontFaceType GetType() + public new FontFaceType GetType() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// @@ -21120,9 +21120,9 @@ public unsafe partial struct IDWriteFontFace6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public Graphics.DirectWrite.FontSimulations GetSimulations() + public FontSimulations GetSimulations() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this)); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs index 94caffd..83fcc79 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs @@ -7013,9 +7013,9 @@ public unsafe partial struct IDXGIDecodeSwapChain /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public Graphics.Dxgi.MultiplaneOverlayYcbcrFlags GetColorSpace() + public MultiplaneOverlayYcbcrFlags GetColorSpace() { - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this)); } }