diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 30e6c43..b33c35d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,14 +14,14 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET 8 SDK
- uses: actions/setup-dotnet@v3
+ uses: actions/setup-dotnet@v4
with:
global-json-file: ./global.json
diff --git a/Directory.Build.props b/Directory.Build.props
index 69623e9..32d8f3e 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -3,6 +3,12 @@
https://github.com/amerkoleci/Vortice.Win32
git
+
+
+
+ 2.2.0
+
+
true
@@ -16,8 +22,6 @@
$(MSBuildThisFileDirectory)NuGet.config
true
- 2.1.0
-
true
$(NoWarn);AD0001;CS1591;CS1701;CA2252;
diff --git a/Directory.Packages.props b/Directory.Packages.props
index c39e29f..5db0057 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,20 +3,16 @@
true
- true
-
-
-
-
-
+
+
-
+
diff --git a/README.md b/README.md
index e3920a2..c0efc26 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,7 @@
[](https://github.com/amerkoleci/Vortice.Win32/actions)
[](https://www.nuget.org/packages/Vortice.Win32)
-**Vortice.Win32** is a **.NET 7.0** and **.NET 8.0** low-level bindings for Win32, generation is based on json files from [win32json](https://github.com/marlersoft/win32json), follows naming conventions of Vortice.Windows but small GC allocation and using unsafe struct for COM objects.
-
-**NOTE** Starting from 15/11/2023 this project is archived, I suggest to use [Silk.NET](https://github.com/dotnet/Silk.NET)
+**Vortice.Win32** is **.net8.0** low-level bindings for Win32, generation is based on json files from [win32json](https://github.com/marlersoft/win32json), follows naming conventions of Vortice.Windows but small GC allocation and using unsafe struct for COM objects.
## Sponsors
To further help development of these bindings library or other projects, please consider [SPONSOR](https://github.com/sponsors/amerkoleci) my profile in order to allow faster issue triaging and new features to be implemented.
diff --git a/global.json b/global.json
index 21cd67a..fee645a 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
- "version": "8.0.100-rc.2",
- "allowPrerelease": true,
- "rollForward": "latestFeature"
+ "version": "8.0.100",
+ "rollForward": "latestFeature",
+ "allowPrerelease": false
}
- }
+}
diff --git a/samples/01-ClearScreen/01-ClearScreen.csproj b/samples/01-ClearScreen/01-ClearScreen.csproj
index 78b37d0..e076672 100644
--- a/samples/01-ClearScreen/01-ClearScreen.csproj
+++ b/samples/01-ClearScreen/01-ClearScreen.csproj
@@ -1,7 +1,7 @@
Exe
- net7.0;net8.0
+ net8.0
true
false
ClearScreen
diff --git a/samples/01-ClearScreen/Program.cs b/samples/01-ClearScreen/Program.cs
index 687f769..3efcdec 100644
--- a/samples/01-ClearScreen/Program.cs
+++ b/samples/01-ClearScreen/Program.cs
@@ -1,4 +1,4 @@
-// Copyright © Amer Koleci and Contributors.
+// Copyright (c) Amer Koleci and contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using System.Numerics;
@@ -120,14 +120,14 @@ public static unsafe class Program
TestD2D1AndDWrite();
using ComPtr factory = default;
- uint factoryFlags = 0;
+ CreateFactoryFlags factoryFlags = CreateFactoryFlags.None;
#if DEBUG
{
using ComPtr dxgiInfoQueue = default;
if (DXGIGetDebugInterface1(0, __uuidof(), (void**)dxgiInfoQueue.GetAddressOf()).Success)
{
- factoryFlags = DXGI_CREATE_FACTORY_DEBUG;
+ factoryFlags = CreateFactoryFlags.Debug;
dxgiInfoQueue.Get()->SetBreakOnSeverity(DXGI_DEBUG_ALL, InfoQueueMessageSeverity.Error, true);
dxgiInfoQueue.Get()->SetBreakOnSeverity(DXGI_DEBUG_ALL, InfoQueueMessageSeverity.Corruption, true);
diff --git a/samples/01-ClearScreen/VertexPositionColor.cs b/samples/01-ClearScreen/VertexPositionColor.cs
index adaca62..1cc1b19 100644
--- a/samples/01-ClearScreen/VertexPositionColor.cs
+++ b/samples/01-ClearScreen/VertexPositionColor.cs
@@ -1,21 +1,12 @@
-// Copyright © Amer Koleci and Contributors.
+// Copyright (c) Amer Koleci and contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
-using Win32;
-using Win32.Graphics.Direct3D;
-using Win32.Graphics.Direct3D11;
-using Win32.Graphics.Dxgi;
-using static Win32.Apis;
-using static Win32.Graphics.Direct3D11.Apis;
-using static Win32.Graphics.Dxgi.Apis;
-using MessageId = Win32.Graphics.Direct3D11.MessageId;
-using InfoQueueFilter = Win32.Graphics.Direct3D11.InfoQueueFilter;
-using Win32.Graphics.Dxgi.Common;
-using System.Drawing;
using System.Numerics;
+using System.Runtime.InteropServices;
namespace ClearScreen;
+[StructLayout(LayoutKind.Sequential, Pack = 1)]
public readonly struct VertexPositionColor
{
public static readonly unsafe int SizeInBytes = sizeof(VertexPositionColor);
diff --git a/src/Generator/ApiData.cs b/src/Generator/ApiData.cs
index bc5050d..e8ff9d4 100644
--- a/src/Generator/ApiData.cs
+++ b/src/Generator/ApiData.cs
@@ -1,10 +1,8 @@
-// Copyright © Amer Koleci and Contributors.
+// Copyright (c) Amer Koleci and contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
#nullable disable
-using System.Text;
-
namespace Generator;
public class ApiDataArrayShape
diff --git a/src/Generator/CodeWriter.cs b/src/Generator/CodeWriter.cs
index cc6ba12..3adc52e 100644
--- a/src/Generator/CodeWriter.cs
+++ b/src/Generator/CodeWriter.cs
@@ -1,4 +1,4 @@
-// Copyright © Amer Koleci and Contributors.
+// Copyright (c) Amer Koleci and contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using System.Text;
diff --git a/src/Generator/DocGenerator.cs b/src/Generator/DocGenerator.cs
index daba49e..9738291 100644
--- a/src/Generator/DocGenerator.cs
+++ b/src/Generator/DocGenerator.cs
@@ -1,4 +1,4 @@
-// Copyright © Amer Koleci and Contributors.
+// Copyright (c) Amer Koleci and contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using System.Text.RegularExpressions;
diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs
index 31dc2e0..a4aeefb 100644
--- a/src/Generator/Program.cs
+++ b/src/Generator/Program.cs
@@ -1,4 +1,4 @@
-// Copyright © Amer Koleci and Contributors.
+// Copyright (c) Amer Koleci and contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
using System.Globalization;
@@ -10,8 +10,8 @@ namespace Generator;
public static class Program
{
- private static readonly string[] jsons = new[]
- {
+ private static readonly string[] s_jsons =
+ [
"Graphics.Dxgi.Common.json",
"Graphics.Dxgi.json",
"Graphics.Direct3D.json",
@@ -31,7 +31,7 @@ public static class Program
// Media
//"Media.Audio.json",
"Media.Audio.XAudio2.json",
- };
+ ];
private static readonly Dictionary s_csNameMappings = new()
{
@@ -52,7 +52,7 @@ public static class Program
{"IntPtr", "nint" },
{"UIntPtr", "nuint" },
- {"Char", "ushort" },
+ {"Char", "char" },
{ "Foundation.BOOL", "Bool32" },
{ "Foundation.BOOLEAN", "byte" },
@@ -879,6 +879,8 @@ public static class Program
{ "DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS", "DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG" },
{ "DXGI_DEBUG_RLO_FLAGS", "DXGI_DEBUG_RLO" },
{ "DXGI_OFFER_RESOURCE_FLAGS", "DXGI_OFFER_RESOURCE_FLAG" },
+ { "DXGI_SHARED_RESOURCE_RW", "DXGI_SHARED_RESOURCE" },
+ { "DXGI_CREATE_FACTORY_FLAGS", "DXGI_CREATE_FACTORY" },
// D3D
{ "D3D_INTERPOLATION_MODE", "D3D_INTERPOLATION" },
@@ -988,7 +990,7 @@ public static class Program
{"DXGI_USAGE", true },
{"DXGI_MAP", true },
{"DXGI_PRESENT", true },
- {"DXGI_MWA", true },
+ {"DXGI_MWA_FLAGS", true },
{"DXGI_ENUM_MODES", true },
{"DXC_HASHFLAG", true },
{"DxcValidatorFlags", true },
@@ -1029,7 +1031,7 @@ public static class Program
// Generated
{ "DXGI_MAP", "MapFlags" },
{ "DXGI_ENUM_MODES", "EnumModesFlags" },
- { "DXGI_MWA", "WindowAssociationFlags" },
+ { "DXGI_MWA_FLAGS", "WindowAssociationFlags" },
{ "DXGI_PRESENT", "PresentFlags" },
{ "DXGI_DEBUG_RLO_FLAGS", "ReportLiveObjectFlags" },
@@ -1137,6 +1139,12 @@ public static class Program
{ "XAUDIO2_DEBUG_CONFIGURATION::BreakMask", "LogType" },
};
+ private static readonly Dictionary s_structFieldNameRemap = new()
+ {
+ { "D3D12_SAMPLE_MASK::SampleMask", "Mask" },
+ { "D3D12_DEPTH_STENCIL_FORMAT::DepthStencilFormat", "Format" },
+ };
+
private static readonly Dictionary s_mapFunctionParameters = new()
{
// DXGI
@@ -1144,7 +1152,7 @@ public static class Program
{ "IDXGIOutput::GetDisplayModeList::Flags", "DXGI_ENUM_MODES" },
{ "IDXGISwapChain::Present::Flags", "DXGI_PRESENT" },
{ "IDXGISwapChain::ResizeBuffers::SwapChainFlags", "DXGI_SWAP_CHAIN_FLAG" },
- { "IDXGIFactory::MakeWindowAssociation::Flags", "DXGI_MWA" },
+ { "IDXGIFactory::MakeWindowAssociation::Flags", "DXGI_MWA_FLAGS" },
// D3D11
{ "ID3D11DeviceContext::Map::MapFlags", "D3D11_MAP_FLAG" },
@@ -1243,7 +1251,7 @@ public static class Program
//DocGenerator.Generate(new[] { "DComposition" }, Path.Combine(directCompositionPath, "DirectComposition.xml"));
//DocGenerator.Generate(rootPath, new[] { "XAudio2", "XAUDIO2", "Hrtf", "XAPO", "X3DAUDIO" }, Path.Combine(XAudio2Path, "XAudio2.xml"));
- foreach (string jsonFile in jsons)
+ foreach (string jsonFile in s_jsons)
{
string finalPath = Path.Combine(AppContext.BaseDirectory, "win32json", "api", jsonFile);
string jsonData = File.ReadAllText(finalPath);
@@ -2207,6 +2215,10 @@ public static class Program
{
fieldValueName = "Mask";
}
+ else if (s_structFieldNameRemap.TryGetValue($"{structType.Name}::{field.Name}", out string? remapFieldName))
+ {
+ fieldValueName = remapFieldName;
+ }
string fieldTypeName = GetTypeNameWithPointerCheck(api, field.Type);
if (string.IsNullOrEmpty(writer.DocFileName) == false)
diff --git a/src/Generator/win32json/api/Graphics.Direct2D.Common.json b/src/Generator/win32json/api/Graphics.Direct2D.Common.json
index fe7aa6f..811f2de 100644
--- a/src/Generator/win32json/api/Graphics.Direct2D.Common.json
+++ b/src/Generator/win32json/api/Graphics.Direct2D.Common.json
@@ -237,25 +237,6 @@
]
,"NestedTypes":[
{
- "Name":"_Anonymous1_e__Struct"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Struct"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"m11","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"m12","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"m21","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"m22","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dx","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dy","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
- ,{
"Name":"_Anonymous2_e__Struct"
,"Architectures":[]
,"Platform":null
@@ -274,6 +255,25 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"_Anonymous1_e__Struct"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"m11","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"m12","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"m21","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"m22","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dx","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dy","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
]
}
]
@@ -452,6 +452,21 @@
}
]
}
+ ,{
+ "Name":"D2D1_GRADIENT_STOP"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"position","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"color","Type":{"Kind":"ApiRef","Name":"D2D1_COLOR_F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"D2D1_FIGURE_BEGIN"
,"Architectures":[]
diff --git a/src/Generator/win32json/api/Graphics.Direct2D.json b/src/Generator/win32json/api/Graphics.Direct2D.json
index 58d6b5a..5bbe92d 100644
--- a/src/Generator/win32json/api/Graphics.Direct2D.json
+++ b/src/Generator/win32json/api/Graphics.Direct2D.json
@@ -620,21 +620,6 @@
,"NestedTypes":[
]
}
- ,{
- "Name":"D2D1_GRADIENT_STOP"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Struct"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"position","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"color","Type":{"Kind":"ApiRef","Name":"D2D1_COLOR_F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
,{
"Name":"D2D1_BRUSH_PROPERTIES"
,"Architectures":[]
@@ -1297,7 +1282,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["Out"]}
,{"Name":"gradientStopsCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
}
@@ -2516,7 +2501,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["In","Const"]}
+ {"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["In","Const"]}
,{"Name":"gradientStopsCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"colorInterpolationGamma","Type":{"Kind":"ApiRef","Name":"D2D1_GAMMA","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
,{"Name":"extendMode","Type":{"Kind":"ApiRef","Name":"D2D1_EXTEND_MODE","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
@@ -5941,7 +5926,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["Out"]}
,{"Name":"gradientStopsCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
}
@@ -6140,7 +6125,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"straightAlphaGradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["In","Const"]}
+ {"Name":"straightAlphaGradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["In","Const"]}
,{"Name":"straightAlphaGradientStopsCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"preInterpolationSpace","Type":{"Kind":"ApiRef","Name":"D2D1_COLOR_SPACE","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
,{"Name":"postInterpolationSpace","Type":{"Kind":"ApiRef","Name":"D2D1_COLOR_SPACE","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
@@ -11701,6 +11686,108 @@
}
]
}
+ ,{
+ "Name":"ID2D1DeviceContext7"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"ec891cf7-9b69-4851-9def-4e0915771e62"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID2D1DeviceContext6","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetPaintFeatureLevel"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"DWRITE_PAINT_FEATURE_LEVEL","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"DrawPaintGlyphRun"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"baselineOrigin","Type":{"Kind":"ApiRef","Name":"D2D_POINT_2F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"glyphRun","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ,{"Name":"defaultFillBrush","Type":{"Kind":"ApiRef","Name":"ID2D1Brush","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In","Optional"]}
+ ,{"Name":"colorPaletteIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"measuringMode","Type":{"Kind":"ApiRef","Name":"DWRITE_MEASURING_MODE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"DrawGlyphRunWithColorSupport"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"baselineOrigin","Type":{"Kind":"ApiRef","Name":"D2D_POINT_2F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"glyphRun","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ,{"Name":"glyphRunDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN_DESCRIPTION","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Optional","Const"]}
+ ,{"Name":"foregroundBrush","Type":{"Kind":"ApiRef","Name":"ID2D1Brush","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In","Optional"]}
+ ,{"Name":"svgGlyphStyle","Type":{"Kind":"ApiRef","Name":"ID2D1SvgGlyphStyle","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In","Optional"]}
+ ,{"Name":"colorPaletteIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"measuringMode","Type":{"Kind":"ApiRef","Name":"DWRITE_MEASURING_MODE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"bitmapSnapOption","Type":{"Kind":"ApiRef","Name":"D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"ID2D1Device7"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"f07c8968-dd4e-4ba6-9cbd-eb6d3752dcbb"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID2D1Device6","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"CreateDeviceContext"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"options","Type":{"Kind":"ApiRef","Name":"D2D1_DEVICE_CONTEXT_OPTIONS","TargetKind":"Default","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"deviceContext","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1DeviceContext7","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"ID2D1Factory8"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"677c9311-f36d-4b1f-ae86-86d1223ffd3a"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID2D1Factory7","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"CreateDevice"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"dxgiDevice","Type":{"Kind":"ApiRef","Name":"IDXGIDevice","TargetKind":"Com","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"d2dDevice6","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Device7","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
,{
"Name":"ID2D1EffectContext1"
,"Architectures":[]
diff --git a/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json b/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json
index dcdcc79..71abb52 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json
@@ -2,6 +2,13 @@
"Constants":[
{
+ "Name":"CLSID_DxcUtils"
+ ,"Type":{"Kind":"Native","Name":"Guid"}
+ ,"ValueType":"String"
+ ,"Value":"6245d6af-66e0-48fd-80b4-4d271796748c"
+ ,"Attrs":[]
+ }
+ ,{
"Name":"DXC_HASHFLAG_INCLUDES_SOURCE"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
diff --git a/src/Generator/win32json/api/Graphics.Direct3D.json b/src/Generator/win32json/api/Graphics.Direct3D.json
index 8866fa4..39bdc1c 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D.json
@@ -309,6 +309,27 @@
,"Value":268435456
,"Attrs":[]
}
+ ,{
+ "Name":"D3D_SHADER_FEATURE_ADVANCED_TEXTURE_OPS"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":536870912
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D_SHADER_FEATURE_WRITEABLE_MSAA_TEXTURES"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":1073741824
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D_SHADER_FEATURE_SAMPLE_CMP_GRADIENT_OR_BIAS"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":2147483648
+ ,"Attrs":[]
+ }
,{
"Name":"WKPDID_D3DDebugObjectName"
,"Type":{"Kind":"Native","Name":"Guid"}
@@ -407,7 +428,8 @@
,"Flags":false
,"Scoped":false
,"Values":[
- {"Name":"D3D_FEATURE_LEVEL_1_0_CORE","Value":4096}
+ {"Name":"D3D_FEATURE_LEVEL_1_0_GENERIC","Value":256}
+ ,{"Name":"D3D_FEATURE_LEVEL_1_0_CORE","Value":4096}
,{"Name":"D3D_FEATURE_LEVEL_9_1","Value":37120}
,{"Name":"D3D_FEATURE_LEVEL_9_2","Value":37376}
,{"Name":"D3D_FEATURE_LEVEL_9_3","Value":37632}
@@ -1200,10 +1222,22 @@
,{"Name":"D3D_REGISTER_COMPONENT_UINT32","Value":1}
,{"Name":"D3D_REGISTER_COMPONENT_SINT32","Value":2}
,{"Name":"D3D_REGISTER_COMPONENT_FLOAT32","Value":3}
+ ,{"Name":"D3D_REGISTER_COMPONENT_UINT16","Value":4}
+ ,{"Name":"D3D_REGISTER_COMPONENT_SINT16","Value":5}
+ ,{"Name":"D3D_REGISTER_COMPONENT_FLOAT16","Value":6}
+ ,{"Name":"D3D_REGISTER_COMPONENT_UINT64","Value":7}
+ ,{"Name":"D3D_REGISTER_COMPONENT_SINT64","Value":8}
+ ,{"Name":"D3D_REGISTER_COMPONENT_FLOAT64","Value":9}
,{"Name":"D3D10_REGISTER_COMPONENT_UNKNOWN","Value":0}
,{"Name":"D3D10_REGISTER_COMPONENT_UINT32","Value":1}
,{"Name":"D3D10_REGISTER_COMPONENT_SINT32","Value":2}
,{"Name":"D3D10_REGISTER_COMPONENT_FLOAT32","Value":3}
+ ,{"Name":"D3D10_REGISTER_COMPONENT_UINT16","Value":4}
+ ,{"Name":"D3D10_REGISTER_COMPONENT_SINT16","Value":5}
+ ,{"Name":"D3D10_REGISTER_COMPONENT_FLOAT16","Value":6}
+ ,{"Name":"D3D10_REGISTER_COMPONENT_UINT64","Value":7}
+ ,{"Name":"D3D10_REGISTER_COMPONENT_SINT64","Value":8}
+ ,{"Name":"D3D10_REGISTER_COMPONENT_FLOAT64","Value":9}
]
,"IntegerBase":"Int32"
}
diff --git a/src/Generator/win32json/api/Graphics.Direct3D11.json b/src/Generator/win32json/api/Graphics.Direct3D11.json
index 8715eb6..79c2c69 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D11.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D11.json
@@ -5590,6 +5590,7 @@
,{"Name":"D3D11_FORMAT_SUPPORT2_TILED","Value":512}
,{"Name":"D3D11_FORMAT_SUPPORT2_SHAREABLE","Value":1024}
,{"Name":"D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY","Value":16384}
+ ,{"Name":"D3D11_FORMAT_SUPPORT2_DISPLAYABLE","Value":65536}
]
,"IntegerBase":"Int32"
}
diff --git a/src/Generator/win32json/api/Graphics.Direct3D12.json b/src/Generator/win32json/api/Graphics.Direct3D12.json
index c05f6b8..2d16d64 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D12.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D12.json
@@ -1930,7 +1930,7 @@
"Name":"D3D12_PREVIEW_SDK_VERSION"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
- ,"Value":710
+ ,"Value":714
,"Attrs":[]
}
,{
@@ -2406,7 +2406,7 @@
"Name":"D3D12_SDK_VERSION"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
- ,"Value":610
+ ,"Value":614
,"Attrs":[]
}
,{
@@ -2843,6 +2843,41 @@
,"Value":4294967295
,"Attrs":[]
}
+ ,{
+ "Name":"D3D12_VIDEO_ENCODER_AV1_INVALID_DPB_RESOURCE_INDEX"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":255
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D12_VIDEO_ENCODER_AV1_MAX_TILE_COLS"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":64
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D12_VIDEO_ENCODER_AV1_MAX_TILE_ROWS"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":64
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D12_VIDEO_ENCODER_AV1_SUPERRES_DENOM_MIN"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":9
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D12_VIDEO_ENCODER_AV1_SUPERRES_NUM"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":8
+ ,"Attrs":[]
+ }
,{
"Name":"D3D12_VIDEO_PROCESS_MAX_FILTERS"
,"Type":{"Kind":"Native","Name":"UInt32"}
@@ -2962,6 +2997,20 @@
,"Value":25
,"Attrs":[]
}
+ ,{
+ "Name":"D3D12_WORK_GRAPHS_BACKING_MEMORY_ALIGNMENT_IN_BYTES"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":8
+ ,"Attrs":[]
+ }
+ ,{
+ "Name":"D3D12_WORK_GRAPHS_MAX_NODE_DEPTH"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":32
+ ,"Attrs":[]
+ }
,{
"Name":"D3D12_SHADER_COMPONENT_MAPPING_MASK"
,"Type":{"Kind":"Native","Name":"UInt32"}
@@ -3074,13 +3123,6 @@
,"Value":"114863bf-c386-4aee-b39d-8f0bbb062955"
,"Attrs":[]
}
- ,{
- "Name":"CLSID_D3D12DSRDeviceFactory"
- ,"Type":{"Kind":"Native","Name":"Guid"}
- ,"ValueType":"String"
- ,"Value":"7f9bdcac-f629-455e-ab13-a807fbe9aba4"
- ,"Attrs":[]
- }
,{
"Name":"D3D12_SHADING_RATE_X_AXIS_SHIFT"
,"Type":{"Kind":"Native","Name":"UInt32"}
@@ -3257,19 +3299,26 @@
,"Attrs":[]
}
,{
- "Name":"D3D_SHADER_FEATURE_ADVANCED_TEXTURE_OPS"
+ "Name":"D3D_SHADER_REQUIRES_ADVANCED_TEXTURE_OPS"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":536870912
,"Attrs":[]
}
,{
- "Name":"D3D_SHADER_FEATURE_WRITEABLE_MSAA_TEXTURES"
+ "Name":"D3D_SHADER_REQUIRES_WRITEABLE_MSAA_TEXTURES"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":1073741824
,"Attrs":[]
}
+ ,{
+ "Name":"D3D_SHADER_REQUIRES_SAMPLE_CMP_GRADIENT_OR_BIAS"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":2147483648
+ ,"Attrs":[]
+ }
,{
"Name":"D3D12ExperimentalShaderModels"
,"Type":{"Kind":"Native","Name":"Guid"}
@@ -4019,6 +4068,19 @@
]
,"IntegerBase":"Int32"
}
+ ,{
+ "Name":"D3D12_STANDARD_MULTISAMPLE_QUALITY_LEVELS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_STANDARD_MULTISAMPLE_PATTERN","Value":-1}
+ ,{"Name":"D3D12_CENTER_MULTISAMPLE_PATTERN","Value":-2}
+ ]
+ ,"IntegerBase":"Int32"
+ }
,{
"Name":"D3D12_CACHED_PIPELINE_STATE"
,"Architectures":[]
@@ -4218,6 +4280,11 @@
,{"Name":"D3D12_FEATURE_D3D12_OPTIONS17","Value":46}
,{"Name":"D3D12_FEATURE_D3D12_OPTIONS18","Value":47}
,{"Name":"D3D12_FEATURE_D3D12_OPTIONS19","Value":48}
+ ,{"Name":"D3D12_FEATURE_D3D12_OPTIONS20","Value":49}
+ ,{"Name":"D3D12_FEATURE_PREDICATION","Value":50}
+ ,{"Name":"D3D12_FEATURE_PLACED_RESOURCE_SUPPORT_INFO","Value":51}
+ ,{"Name":"D3D12_FEATURE_HARDWARE_COPY","Value":52}
+ ,{"Name":"D3D12_FEATURE_D3D12_OPTIONS21","Value":53}
]
,"IntegerBase":"Int32"
}
@@ -4416,6 +4483,19 @@
]
,"IntegerBase":"Int32"
}
+ ,{
+ "Name":"D3D12_WORK_GRAPHS_TIER"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_WORK_GRAPHS_TIER_NOT_SUPPORTED","Value":0}
+ ,{"Name":"D3D12_WORK_GRAPHS_TIER_1_0","Value":10}
+ ]
+ ,"IntegerBase":"Int32"
+ }
,{
"Name":"D3D12_FEATURE_DATA_D3D12_OPTIONS"
,"Architectures":[]
@@ -4566,7 +4646,8 @@
,"Flags":false
,"Scoped":false
,"Values":[
- {"Name":"D3D_SHADER_MODEL_5_1","Value":81}
+ {"Name":"D3D_SHADER_MODEL_NONE","Value":0}
+ ,{"Name":"D3D_SHADER_MODEL_5_1","Value":81}
,{"Name":"D3D_SHADER_MODEL_6_0","Value":96}
,{"Name":"D3D_SHADER_MODEL_6_1","Value":97}
,{"Name":"D3D_SHADER_MODEL_6_2","Value":98}
@@ -4576,7 +4657,8 @@
,{"Name":"D3D_SHADER_MODEL_6_6","Value":102}
,{"Name":"D3D_SHADER_MODEL_6_7","Value":103}
,{"Name":"D3D_SHADER_MODEL_6_8","Value":104}
- ,{"Name":"D3D_HIGHEST_SHADER_MODEL","Value":104}
+ ,{"Name":"D3D_SHADER_MODEL_6_9","Value":105}
+ ,{"Name":"D3D_HIGHEST_SHADER_MODEL","Value":105}
]
,"IntegerBase":"Int32"
}
@@ -5204,6 +5286,92 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"D3D12_RECREATE_AT_TIER"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_RECREATE_AT_TIER_NOT_SUPPORTED","Value":0}
+ ,{"Name":"D3D12_RECREATE_AT_TIER_1","Value":1}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_FEATURE_DATA_D3D12_OPTIONS20"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"ComputeOnlyWriteWatchSupported","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ,{"Name":"RecreateAtTier","Type":{"Kind":"ApiRef","Name":"D3D12_RECREATE_AT_TIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_EXECUTE_INDIRECT_TIER"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_EXECUTE_INDIRECT_TIER_1_0","Value":10}
+ ,{"Name":"D3D12_EXECUTE_INDIRECT_TIER_1_1","Value":11}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_FEATURE_DATA_D3D12_OPTIONS21"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"WorkGraphsTier","Type":{"Kind":"ApiRef","Name":"D3D12_WORK_GRAPHS_TIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"ExecuteIndirectTier","Type":{"Kind":"ApiRef","Name":"D3D12_EXECUTE_INDIRECT_TIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"SampleCmpGradientAndBiasSupported","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ,{"Name":"ExtendedCommandInfoSupported","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_FEATURE_DATA_PREDICATION"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Supported","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_FEATURE_DATA_HARDWARE_COPY"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Supported","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"D3D12_RESOURCE_ALLOCATION_INFO"
,"Architectures":[]
@@ -5359,6 +5527,23 @@
]
,"IntegerBase":"Int32"
}
+ ,{
+ "Name":"D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Format","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":[]}
+ ,{"Name":"Dimension","Type":{"Kind":"ApiRef","Name":"D3D12_RESOURCE_DIMENSION","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"DestHeapProperties","Type":{"Kind":"ApiRef","Name":"D3D12_HEAP_PROPERTIES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"Supported","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"D3D12_TEXTURE_LAYOUT"
,"Architectures":[]
@@ -5717,6 +5902,11 @@
,{"Name":"D3D12_RESOURCE_STATE_RESOLVE_SOURCE","Value":8192}
,{"Name":"D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE","Value":4194304}
,{"Name":"D3D12_RESOURCE_STATE_SHADING_RATE_SOURCE","Value":16777216}
+ ,{"Name":"D3D12_RESOURCE_STATE_RESERVED_INTERNAL_8000","Value":32768}
+ ,{"Name":"D3D12_RESOURCE_STATE_RESERVED_INTERNAL_4000","Value":16384}
+ ,{"Name":"D3D12_RESOURCE_STATE_RESERVED_INTERNAL_100000","Value":1048576}
+ ,{"Name":"D3D12_RESOURCE_STATE_RESERVED_INTERNAL_40000000","Value":1073741824}
+ ,{"Name":"D3D12_RESOURCE_STATE_RESERVED_INTERNAL_80000000","Value":-2147483648}
,{"Name":"D3D12_RESOURCE_STATE_GENERIC_READ","Value":2755}
,{"Name":"D3D12_RESOURCE_STATE_ALL_SHADER_RESOURCE","Value":192}
,{"Name":"D3D12_RESOURCE_STATE_PRESENT","Value":0}
@@ -7907,6 +8097,7 @@
,{"Name":"D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW","Value":8}
,{"Name":"D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_RAYS","Value":9}
,{"Name":"D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_MESH","Value":10}
+ ,{"Name":"D3D12_INDIRECT_ARGUMENT_TYPE_INCREMENTING_CONSTANT","Value":11}
]
,"IntegerBase":"Int32"
}
@@ -7937,10 +8128,26 @@
,{"Name":"ConstantBufferView","Type":{"Kind":"ApiRef","Name":"_ConstantBufferView_e__Struct","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":["_Anonymous_e__Union"]},"Attrs":[]}
,{"Name":"ShaderResourceView","Type":{"Kind":"ApiRef","Name":"_ShaderResourceView_e__Struct","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":["_Anonymous_e__Union"]},"Attrs":[]}
,{"Name":"UnorderedAccessView","Type":{"Kind":"ApiRef","Name":"_UnorderedAccessView_e__Struct","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":["_Anonymous_e__Union"]},"Attrs":[]}
+ ,{"Name":"IncrementingConstant","Type":{"Kind":"ApiRef","Name":"_IncrementingConstant_e__Struct","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":["_Anonymous_e__Union"]},"Attrs":[]}
]
,"NestedTypes":[
{
- "Name":"_UnorderedAccessView_e__Struct"
+ "Name":"_IncrementingConstant_e__Struct"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"RootParameterIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"DestOffsetIn32BitValues","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"_ShaderResourceView_e__Struct"
,"Architectures":[]
,"Platform":null
,"Kind":"Struct"
@@ -7954,7 +8161,23 @@
]
}
,{
- "Name":"_ConstantBufferView_e__Struct"
+ "Name":"_Constant_e__Struct"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"RootParameterIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"DestOffsetIn32BitValues","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"Num32BitValuesToSet","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"_UnorderedAccessView_e__Struct"
,"Architectures":[]
,"Platform":null
,"Kind":"Struct"
@@ -7982,23 +8205,7 @@
]
}
,{
- "Name":"_Constant_e__Struct"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Struct"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"RootParameterIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ,{"Name":"DestOffsetIn32BitValues","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ,{"Name":"Num32BitValuesToSet","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
- ,{
- "Name":"_ShaderResourceView_e__Struct"
+ "Name":"_ConstantBufferView_e__Struct"
,"Architectures":[]
,"Platform":null
,"Kind":"Struct"
@@ -10776,6 +10983,246 @@
}
]
}
+ ,{
+ "Name":"D3D12_PROGRAM_IDENTIFIER"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"OpaqueData","Type":{"Kind":"Array","Shape":{"Size":4},"Child":{"Kind":"Native","Name":"UInt64"}},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"ID3D12StateObjectProperties1"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"460caac7-1d24-446a-a184-ca67db494138"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID3D12StateObjectProperties","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetProgramIdentifier"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"D3D12_PROGRAM_IDENTIFIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pProgramName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"D3D12_NODE_ID"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Name","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
+ ,{"Name":"ArrayIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_WORK_GRAPH_MEMORY_REQUIREMENTS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"MinSizeInBytes","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ,{"Name":"MaxSizeInBytes","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ,{"Name":"SizeGranularityInBytes","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"ID3D12WorkGraphProperties"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"065acf71-f863-4b89-82f4-02e4d5886757"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetNumWorkGraphs"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetProgramName"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetWorkGraphIndex"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pProgramName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
+ ]
+ }
+ ,{
+ "Name":"GetNumNodes"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetNodeID"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"NodeIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetNodeIndex"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"NodeID","Type":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetNodeLocalRootArgumentsTableIndex"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"NodeIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetNumEntrypoints"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetEntrypointID"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"EntrypointIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetEntrypointIndex"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"NodeID","Type":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetEntrypointRecordSizeInBytes"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"EntrypointIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetWorkGraphMemoryRequirements"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"pWorkGraphMemoryRequirements","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_WORK_GRAPH_MEMORY_REQUIREMENTS","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Out"]}
+ ]
+ }
+ ,{
+ "Name":"GetEntrypointRecordAlignmentInBytes"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"WorkGraphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"EntrypointIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ]
+ }
,{
"Name":"D3D12_STATE_SUBOBJECT_TYPE"
,"Architectures":[]
@@ -10796,7 +11243,24 @@
,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_PIPELINE_CONFIG","Value":10}
,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_HIT_GROUP","Value":11}
,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_PIPELINE_CONFIG1","Value":12}
- ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_MAX_VALID","Value":13}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_WORK_GRAPH","Value":13}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_STREAM_OUTPUT","Value":14}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_BLEND","Value":15}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_SAMPLE_MASK","Value":16}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_RASTERIZER","Value":17}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL","Value":18}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_INPUT_LAYOUT","Value":19}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_IB_STRIP_CUT_VALUE","Value":20}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY","Value":21}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS","Value":22}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT","Value":23}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_SAMPLE_DESC","Value":24}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_FLAGS","Value":26}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1","Value":27}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_VIEW_INSTANCING","Value":28}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_GENERIC_PROGRAM","Value":29}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2","Value":30}
+ ,{"Name":"D3D12_STATE_SUBOBJECT_TYPE_MAX_VALID","Value":31}
]
,"IntegerBase":"Int32"
}
@@ -10886,6 +11350,62 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"D3D12_SAMPLE_MASK"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"SampleMask","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_IB_STRIP_CUT_VALUE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"IndexBufferStripCutValue","Type":{"Kind":"ApiRef","Name":"D3D12_INDEX_BUFFER_STRIP_CUT_VALUE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_PRIMITIVE_TOPOLOGY_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"PrimitiveTopology","Type":{"Kind":"ApiRef","Name":"D3D12_PRIMITIVE_TOPOLOGY_TYPE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_DEPTH_STENCIL_FORMAT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"DepthStencilFormat","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"D3D12_EXPORT_FLAGS"
,"Architectures":[]
@@ -10925,7 +11445,7 @@
,"Fields":[
{"Name":"DXILLibrary","Type":{"Kind":"ApiRef","Name":"D3D12_SHADER_BYTECODE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
,{"Name":"NumExports","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ,{"Name":"pExports","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_EXPORT_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":[]}
+ ,{"Name":"pExports","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_EXPORT_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
]
,"NestedTypes":[
]
@@ -10941,7 +11461,7 @@
,"Fields":[
{"Name":"pExistingCollection","Type":{"Kind":"ApiRef","Name":"ID3D12StateObject","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
,{"Name":"NumExports","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ,{"Name":"pExports","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_EXPORT_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":[]}
+ ,{"Name":"pExports","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_EXPORT_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
]
,"NestedTypes":[
]
@@ -11067,6 +11587,242 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"D3D12_NODE_OUTPUT_OVERRIDES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"OutputIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pNewName","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pAllowSparseNodes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pMaxRecords","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"pMaxRecordsSharedWithOutputIndex","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_BROADCASTING_LAUNCH_OVERRIDES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"pLocalRootArgumentsTableIndex","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"pProgramEntry","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pNewName","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pShareInputOf","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pDispatchGrid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"pMaxDispatchGrid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"NumOutputOverrides","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pOutputOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_OUTPUT_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_COALESCING_LAUNCH_OVERRIDES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"pLocalRootArgumentsTableIndex","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"pProgramEntry","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pNewName","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pShareInputOf","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"NumOutputOverrides","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pOutputOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_OUTPUT_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_THREAD_LAUNCH_OVERRIDES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"pLocalRootArgumentsTableIndex","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"pProgramEntry","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pNewName","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pShareInputOf","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"NumOutputOverrides","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pOutputOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_OUTPUT_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_COMMON_COMPUTE_NODE_OVERRIDES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"pLocalRootArgumentsTableIndex","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Const"]}
+ ,{"Name":"pProgramEntry","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pNewName","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pShareInputOf","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"NumOutputOverrides","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pOutputOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_OUTPUT_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_NODE_OVERRIDES_TYPE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_NODE_OVERRIDES_TYPE_NONE","Value":0}
+ ,{"Name":"D3D12_NODE_OVERRIDES_TYPE_BROADCASTING_LAUNCH","Value":1}
+ ,{"Name":"D3D12_NODE_OVERRIDES_TYPE_COALESCING_LAUNCH","Value":2}
+ ,{"Name":"D3D12_NODE_OVERRIDES_TYPE_THREAD_LAUNCH","Value":3}
+ ,{"Name":"D3D12_NODE_OVERRIDES_TYPE_COMMON_COMPUTE","Value":4}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_SHADER_NODE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Shader","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
+ ,{"Name":"OverridesType","Type":{"Kind":"ApiRef","Name":"D3D12_NODE_OVERRIDES_TYPE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ {
+ "Name":"_Anonymous_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"pBroadcastingLaunchOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_BROADCASTING_LAUNCH_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pCoalescingLaunchOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_COALESCING_LAUNCH_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pThreadLaunchOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_THREAD_LAUNCH_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"pCommonComputeNodeOverrides","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_COMMON_COMPUTE_NODE_OVERRIDES","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"D3D12_NODE_TYPE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_NODE_TYPE_SHADER","Value":0}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_NODE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"NodeType","Type":{"Kind":"ApiRef","Name":"D3D12_NODE_TYPE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ {
+ "Name":"_Anonymous_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Shader","Type":{"Kind":"ApiRef","Name":"D3D12_SHADER_NODE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"D3D12_WORK_GRAPH_FLAGS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_WORK_GRAPH_FLAG_NONE","Value":0}
+ ,{"Name":"D3D12_WORK_GRAPH_FLAG_INCLUDE_ALL_AVAILABLE_NODES","Value":1}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_WORK_GRAPH_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"ProgramName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"D3D12_WORK_GRAPH_FLAGS","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"NumEntrypoints","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pEntrypoints","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_ID","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"NumExplicitlyDefinedNodes","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pExplicitlyDefinedNodes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_GENERIC_PROGRAM_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"ProgramName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]}
+ ,{"Name":"NumExports","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pExports","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"NumSubobjects","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"ppSubobjects","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_STATE_SUBOBJECT","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}}},"Attrs":["Const"]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"D3D12_STATE_OBJECT_TYPE"
,"Architectures":[]
@@ -11077,6 +11833,7 @@
,"Values":[
{"Name":"D3D12_STATE_OBJECT_TYPE_COLLECTION","Value":0}
,{"Name":"D3D12_STATE_OBJECT_TYPE_RAYTRACING_PIPELINE","Value":3}
+ ,{"Name":"D3D12_STATE_OBJECT_TYPE_EXECUTABLE","Value":4}
]
,"IntegerBase":"Int32"
}
@@ -11786,6 +12543,9 @@
,{"Name":"D3D12_AUTO_BREADCRUMB_OP_ENCODEFRAME","Value":43}
,{"Name":"D3D12_AUTO_BREADCRUMB_OP_RESOLVEENCODEROUTPUTMETADATA","Value":44}
,{"Name":"D3D12_AUTO_BREADCRUMB_OP_BARRIER","Value":45}
+ ,{"Name":"D3D12_AUTO_BREADCRUMB_OP_BEGIN_COMMAND_LIST","Value":46}
+ ,{"Name":"D3D12_AUTO_BREADCRUMB_OP_DISPATCHGRAPH","Value":47}
+ ,{"Name":"D3D12_AUTO_BREADCRUMB_OP_SETPROGRAM","Value":48}
]
,"IntegerBase":"Int32"
}
@@ -12979,6 +13739,220 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"D3D12_SET_WORK_GRAPH_FLAGS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_SET_WORK_GRAPH_FLAG_NONE","Value":0}
+ ,{"Name":"D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE","Value":1}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_SET_WORK_GRAPH_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"ProgramIdentifier","Type":{"Kind":"ApiRef","Name":"D3D12_PROGRAM_IDENTIFIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"D3D12_SET_WORK_GRAPH_FLAGS","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"BackingMemory","Type":{"Kind":"ApiRef","Name":"D3D12_GPU_VIRTUAL_ADDRESS_RANGE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"NodeLocalRootArgumentsTable","Type":{"Kind":"ApiRef","Name":"D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_SET_RAYTRACING_PIPELINE_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"ProgramIdentifier","Type":{"Kind":"ApiRef","Name":"D3D12_PROGRAM_IDENTIFIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_SET_GENERIC_PIPELINE_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"ProgramIdentifier","Type":{"Kind":"ApiRef","Name":"D3D12_PROGRAM_IDENTIFIER","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_PROGRAM_TYPE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_PROGRAM_TYPE_GENERIC_PIPELINE","Value":1}
+ ,{"Name":"D3D12_PROGRAM_TYPE_RAYTRACING_PIPELINE","Value":4}
+ ,{"Name":"D3D12_PROGRAM_TYPE_WORK_GRAPH","Value":5}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_SET_PROGRAM_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Type","Type":{"Kind":"ApiRef","Name":"D3D12_PROGRAM_TYPE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ {
+ "Name":"_Anonymous_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"GenericPipeline","Type":{"Kind":"ApiRef","Name":"D3D12_SET_GENERIC_PIPELINE_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"RaytracingPipeline","Type":{"Kind":"ApiRef","Name":"D3D12_SET_RAYTRACING_PIPELINE_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"WorkGraph","Type":{"Kind":"ApiRef","Name":"D3D12_SET_WORK_GRAPH_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"D3D12_DISPATCH_MODE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"D3D12_DISPATCH_MODE_NODE_CPU_INPUT","Value":0}
+ ,{"Name":"D3D12_DISPATCH_MODE_NODE_GPU_INPUT","Value":1}
+ ,{"Name":"D3D12_DISPATCH_MODE_MULTI_NODE_CPU_INPUT","Value":2}
+ ,{"Name":"D3D12_DISPATCH_MODE_MULTI_NODE_GPU_INPUT","Value":3}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"D3D12_NODE_CPU_INPUT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"EntrypointIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"NumRecords","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pRecords","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["Const"]}
+ ,{"Name":"RecordStrideInBytes","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_NODE_GPU_INPUT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"EntrypointIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"NumRecords","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"Records","Type":{"Kind":"ApiRef","Name":"D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_MULTI_NODE_CPU_INPUT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"NumNodeInputs","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pNodeInputs","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_NODE_CPU_INPUT","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["Const"]}
+ ,{"Name":"NodeInputStrideInBytes","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_MULTI_NODE_GPU_INPUT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"NumNodeInputs","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"NodeInputs","Type":{"Kind":"ApiRef","Name":"D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"D3D12_DISPATCH_GRAPH_DESC"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"Mode","Type":{"Kind":"ApiRef","Name":"D3D12_DISPATCH_MODE","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"Anonymous","Type":{"Kind":"ApiRef","Name":"_Anonymous_e__Union","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ {
+ "Name":"_Anonymous_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"NodeCPUInput","Type":{"Kind":"ApiRef","Name":"D3D12_NODE_CPU_INPUT","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"NodeGPUInput","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ,{"Name":"MultiNodeCPUInput","Type":{"Kind":"ApiRef","Name":"D3D12_MULTI_NODE_CPU_INPUT","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":[]}
+ ,{"Name":"MultiNodeGPUInput","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ]
+ }
,{
"Name":"ID3D12GraphicsCommandList4"
,"Architectures":[]
@@ -13672,6 +14646,58 @@
}
]
}
+ ,{
+ "Name":"ID3D12Device13"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"14eecffc-4df8-40f7-a118-5c816f45695e"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID3D12Device12","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"OpenExistingHeapFromAddress1"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pAddress","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Const"]}
+ ,{"Name":"size","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
+ ,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
+ ,{"Name":"ppvHeap","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"ID3D12Device14"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"5f6e592d-d895-44c2-8e4a-88ad4926d323"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID3D12Device13","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"CreateRootSignatureFromSubobjectInLibrary"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"nodeMask","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"pLibraryBlob","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Const"]}
+ ,{"Name":"blobLengthInBytes","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
+ ,{"Name":"subobjectName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]}
+ ,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
+ ,{"Name":"ppvRootSignature","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
,{
"Name":"ID3D12VirtualizationGuestDevice"
,"Architectures":[]
@@ -14725,6 +15751,9 @@
,{"Name":"D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA","Value":115}
,{"Name":"D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA","Value":116}
,{"Name":"D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK","Value":117}
+ ,{"Name":"D3D12_MESSAGE_ID_GET_PROGRAM_IDENTIFIER_ERROR","Value":118}
+ ,{"Name":"D3D12_MESSAGE_ID_GET_WORK_GRAPH_PROPERTIES_ERROR","Value":119}
+ ,{"Name":"D3D12_MESSAGE_ID_SET_PROGRAM_ERROR","Value":120}
,{"Name":"D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID","Value":135}
,{"Name":"D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_ROOT_SIGNATURE_NOT_SET","Value":200}
,{"Name":"D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_ROOT_SIGNATURE_MISMATCH","Value":201}
@@ -15561,7 +16590,47 @@
,{"Name":"D3D12_MESSAGE_ID_DRAW_POTENTIALLY_OUTSIDE_OF_VALID_RENDER_AREA","Value":1378}
,{"Name":"D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALID_LINERASTERIZATIONMODE","Value":1379}
,{"Name":"D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDALIGNMENT_SMALLRESOURCE","Value":1380}
- ,{"Name":"D3D12_MESSAGE_ID_D3D12_MESSAGES_END","Value":1381}
+ ,{"Name":"D3D12_MESSAGE_ID_GENERIC_DEVICE_OPERATION_UNSUPPORTED","Value":1381}
+ ,{"Name":"D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RENDER_TARGET_WRONG_WRITE_MASK","Value":1382}
+ ,{"Name":"D3D12_MESSAGE_ID_PROBABLE_PIX_EVENT_LEAK","Value":1383}
+ ,{"Name":"D3D12_MESSAGE_ID_PIX_EVENT_UNDERFLOW","Value":1384}
+ ,{"Name":"D3D12_MESSAGE_ID_RECREATEAT_INVALID_TARGET","Value":1385}
+ ,{"Name":"D3D12_MESSAGE_ID_RECREATEAT_INSUFFICIENT_SUPPORT","Value":1386}
+ ,{"Name":"D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_STRUCTURED_BUFFER_STRIDE_MISMATCH","Value":1387}
+ ,{"Name":"D3D12_MESSAGE_ID_DISPATCH_GRAPH_INVALID","Value":1388}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_FORMAT_INVALID","Value":1389}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_DIMENSION_INVALID","Value":1390}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_COLOR_FORMAT_INVALID","Value":1391}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_DEPTH_FORMAT_INVALID","Value":1392}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXPOSURE_SCALE_FORMAT_INVALID","Value":1393}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_ENGINE_CREATE_FLAGS_INVALID","Value":1394}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_LOAD_FAILURE","Value":1395}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_ENGINE_CREATION_ERROR","Value":1396}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_CREATION_ERROR","Value":1397}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_EXECUTION_ERROR","Value":1398}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REGION_INVALID","Value":1399}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_TIME_DELTA_INVALID","Value":1400}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REQUIRED_TEXTURE_IS_NULL","Value":1401}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_MOTION_VECTORS_FORMAT_INVALID","Value":1402}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FLAGS_INVALID","Value":1403}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FORMAT_INVALID","Value":1404}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_EXPOSURE_SCALE_TEXTURE_SIZE_INVALID","Value":1405}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_INDEX_OUT_OF_BOUNDS","Value":1406}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_ID_NOT_FOUND","Value":1407}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_DUPLICATE_VARIANT_ID","Value":1408}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_OUT_OF_MEMORY","Value":1409}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_UNEXPECTED_TEXTURE_IS_IGNORED","Value":1410}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EVICT_UNDERFLOW","Value":1411}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_OPTIONAL_TEXTURE_IS_NULL","Value":1412}
+ ,{"Name":"D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_INVALID_CAMERA_JITTER","Value":1413}
+ ,{"Name":"D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING","Value":1414}
+ ,{"Name":"D3D12_MESSAGE_ID_GUID_TEXTURE_LAYOUT_UNSUPPORTED","Value":1415}
+ ,{"Name":"D3D12_MESSAGE_ID_RESOLVE_ENCODER_INPUT_PARAM_LAYOUT_INVALID_PARAMETERS","Value":1416}
+ ,{"Name":"D3D12_MESSAGE_ID_INVALID_BARRIER_ACCESS","Value":1417}
+ ,{"Name":"D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INSTANCE_COUNT_ZERO","Value":1418}
+ ,{"Name":"D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SET_BEFORE_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG","Value":1419}
+ ,{"Name":"D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG","Value":1420}
+ ,{"Name":"D3D12_MESSAGE_ID_D3D12_MESSAGES_END","Value":1421}
]
,"IntegerBase":"Int32"
}
@@ -16089,7 +17158,7 @@
,"Params":[
{"Name":"CallbackFunc","Type":{"Kind":"ApiRef","Name":"D3D12MessageFunc","TargetKind":"FunctionPointer","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
,{"Name":"CallbackFilterFlags","Type":{"Kind":"ApiRef","Name":"D3D12_MESSAGE_CALLBACK_FLAGS","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
- ,{"Name":"pContext","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In"]}
+ ,{"Name":"pContext","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Out"]}
,{"Name":"pCallbackCookie","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out"]}
]
}
@@ -16428,6 +17497,32 @@
}
]
}
+ ,{
+ "Name":"ID3D12DeviceConfiguration1"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"ed342442-6343-4e16-bb82-a3a577874e56"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID3D12DeviceConfiguration","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"CreateVersionedRootSignatureDeserializerFromSubobjectInLibrary"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pLibraryBlob","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In",{"Kind":"MemorySize","BytesParamIndex":1},"Const"]}
+ ,{"Name":"Size","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
+ ,{"Name":"RootSignatureSubobjectName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
+ ,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
+ ,{"Name":"ppvDeserializer","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
,{
"Name":"D3D12_AXIS_SHADING_RATE"
,"Architectures":[]
@@ -16634,15 +17729,49 @@
]
}
,{
- "Name":"ID3D12DSRDeviceFactory"
+ "Name":"ID3D12GraphicsCommandList10"
,"Architectures":[]
,"Platform":null
,"Kind":"Com"
- ,"Guid":"51ee7783-6426-4428-b182-42f3541fca71"
+ ,"Guid":"7013c015-d161-4b63-a08c-238552dd8acc"
+ ,"Interface":{"Kind":"ApiRef","Name":"ID3D12GraphicsCommandList9","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"SetProgram"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_SET_PROGRAM_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["In","Const"]}
+ ]
+ }
+ ,{
+ "Name":"DispatchGraph"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_DISPATCH_GRAPH_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["In","Const"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"ID3D12GBVDiagnostics"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"597985ab-9b75-4dbb-be23-0761195bebee"
,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
,"Methods":[
{
- "Name":"CreateDSRDevice"
+ "Name":"GetGBVEntireSubresourceStatesData"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
@@ -16650,10 +17779,73 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pD3D12Device","Type":{"Kind":"ApiRef","Name":"ID3D12Device","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
- ,{"Name":"NodeMask","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
- ,{"Name":"ppvDSRDevice","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr"]}
+ {"Name":"pResource","Type":{"Kind":"ApiRef","Name":"ID3D12Resource","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"pData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int32"}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":2}]}
+ ,{"Name":"DataSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetGBVSubresourceState"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pResource","Type":{"Kind":"ApiRef","Name":"ID3D12Resource","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"Subresource","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"pData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int32"}},"Attrs":["Out"]}
+ ]
+ }
+ ,{
+ "Name":"GetGBVResourceUniformState"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pResource","Type":{"Kind":"ApiRef","Name":"ID3D12Resource","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"pData","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Int32"}},"Attrs":["Out"]}
+ ]
+ }
+ ,{
+ "Name":"GetGBVResourceInfo"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"pResource","Type":{"Kind":"ApiRef","Name":"ID3D12Resource","TargetKind":"Com","Api":"Graphics.Direct3D12","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"pResourceDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D3D12_RESOURCE_DESC","TargetKind":"Default","Api":"Graphics.Direct3D12","Parents":[]}},"Attrs":["In","Optional"]}
+ ,{"Name":"pResourceHash","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Optional"]}
+ ,{"Name":"pSubresourceStatesByteOffset","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Optional"]}
+ ]
+ }
+ ,{
+ "Name":"GBVReserved0"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GBVReserved1"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
]
}
]
@@ -16681,6 +17873,7 @@
,{"Name":"D3D12_SHVER_CALLABLE_SHADER","Value":12}
,{"Name":"D3D12_SHVER_MESH_SHADER","Value":13}
,{"Name":"D3D12_SHVER_AMPLIFICATION_SHADER","Value":14}
+ ,{"Name":"D3D12_SHVER_NODE_SHADER","Value":15}
,{"Name":"D3D12_SHVER_RESERVED0","Value":65520}
]
,"IntegerBase":"Int32"
diff --git a/src/Generator/win32json/api/Graphics.Direct3D9.json b/src/Generator/win32json/api/Graphics.Direct3D9.json
index 46ac27d..02dc987 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D9.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D9.json
@@ -10715,21 +10715,6 @@
,"NestedTypes":[
]
}
- ,{
- "Name":"_Anonymous3_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"hz","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dvHZ","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
,{
"Name":"_Anonymous1_e__Union"
,"Architectures":[]
@@ -10745,6 +10730,21 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"_Anonymous3_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"hz","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dvHZ","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
]
}
,{
@@ -10827,7 +10827,7 @@
]
}
,{
- "Name":"_Anonymous8_e__Union"
+ "Name":"_Anonymous6_e__Union"
,"Architectures":[]
,"Platform":null
,"Kind":"Union"
@@ -10835,23 +10835,8 @@
,"PackingSize":0
,"SizeField":""
,"Fields":[
- {"Name":"tv","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dvTV","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
- ,{
- "Name":"_Anonymous4_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"rhw","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dvRHW","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ {"Name":"specular","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"dcSpecular","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
]
,"NestedTypes":[
]
@@ -10872,7 +10857,7 @@
]
}
,{
- "Name":"_Anonymous6_e__Union"
+ "Name":"_Anonymous4_e__Union"
,"Architectures":[]
,"Platform":null
,"Kind":"Union"
@@ -10880,8 +10865,23 @@
,"PackingSize":0
,"SizeField":""
,"Fields":[
- {"Name":"specular","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ,{"Name":"dcSpecular","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ {"Name":"rhw","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dvRHW","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"_Anonymous8_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"tv","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dvTV","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
]
,"NestedTypes":[
]
@@ -10968,7 +10968,7 @@
]
}
,{
- "Name":"_Anonymous4_e__Union"
+ "Name":"_Anonymous6_e__Union"
,"Architectures":[]
,"Platform":null
,"Kind":"Union"
@@ -10976,8 +10976,8 @@
,"PackingSize":0
,"SizeField":""
,"Fields":[
- {"Name":"color","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
- ,{"Name":"dcColor","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ {"Name":"tu","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dvTU","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
]
,"NestedTypes":[
]
@@ -10998,7 +10998,7 @@
]
}
,{
- "Name":"_Anonymous6_e__Union"
+ "Name":"_Anonymous4_e__Union"
,"Architectures":[]
,"Platform":null
,"Kind":"Union"
@@ -11006,8 +11006,8 @@
,"PackingSize":0
,"SizeField":""
,"Fields":[
- {"Name":"tu","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dvTU","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ {"Name":"color","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"dcColor","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
]
,"NestedTypes":[
]
@@ -11093,6 +11093,36 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"_Anonymous7_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"tu","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dvTU","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"_Anonymous3_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"z","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"dvZ","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"_Anonymous5_e__Union"
,"Architectures":[]
@@ -11123,36 +11153,6 @@
,"NestedTypes":[
]
}
- ,{
- "Name":"_Anonymous3_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"z","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dvZ","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
- ,{
- "Name":"_Anonymous7_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"tu","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ,{"Name":"dvTU","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
]
}
,{
@@ -11309,6 +11309,21 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"_Anonymous3_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"specular","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
+ ,{"Name":"dcvSpecular","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
,{
"Name":"_Anonymous5_e__Union"
,"Architectures":[]
@@ -11339,21 +11354,6 @@
,"NestedTypes":[
]
}
- ,{
- "Name":"_Anonymous3_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"specular","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
- ,{"Name":"dcvSpecular","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
]
}
,{
@@ -11417,21 +11417,6 @@
,"NestedTypes":[
]
}
- ,{
- "Name":"_Anonymous4_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"emissive","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
- ,{"Name":"dcvEmissive","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
,{
"Name":"_Anonymous2_e__Union"
,"Architectures":[]
@@ -11447,6 +11432,21 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"_Anonymous4_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"emissive","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
+ ,{"Name":"dcvEmissive","Type":{"Kind":"ApiRef","Name":"D3DCOLORVALUE","TargetKind":"Default","Api":"Graphics.Direct3D9","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
]
}
,{
@@ -11868,21 +11868,6 @@
,"NestedTypes":[
]
}
- ,{
- "Name":"_Anonymous1_e__Union"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"Union"
- ,"Size":0
- ,"PackingSize":0
- ,"SizeField":""
- ,"Fields":[
- {"Name":"v1","Type":{"Kind":"Native","Name":"UInt16"},"Attrs":[]}
- ,{"Name":"wV1","Type":{"Kind":"Native","Name":"UInt16"},"Attrs":[]}
- ]
- ,"NestedTypes":[
- ]
- }
,{
"Name":"_Anonymous3_e__Union"
,"Architectures":[]
@@ -11898,6 +11883,21 @@
,"NestedTypes":[
]
}
+ ,{
+ "Name":"_Anonymous1_e__Union"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"v1","Type":{"Kind":"Native","Name":"UInt16"},"Attrs":[]}
+ ,{"Name":"wV1","Type":{"Kind":"Native","Name":"UInt16"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
]
}
,{
diff --git a/src/Generator/win32json/api/Graphics.DirectComposition.json b/src/Generator/win32json/api/Graphics.DirectComposition.json
index 2412a70..f265d03 100644
--- a/src/Generator/win32json/api/Graphics.DirectComposition.json
+++ b/src/Generator/win32json/api/Graphics.DirectComposition.json
@@ -4429,6 +4429,102 @@
}
]
}
+ ,{
+ "Name":"IDCompositionTexture"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"929bb1aa-725f-433b-abd7-273075a835f2"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"SetSourceRect"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"sourceRect","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D2D_RECT_U","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["In","Const"]}
+ ]
+ }
+ ,{
+ "Name":"SetColorSpace"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"colorSpace","Type":{"Kind":"ApiRef","Name":"DXGI_COLOR_SPACE_TYPE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetAlphaMode"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"alphaMode","Type":{"Kind":"ApiRef","Name":"DXGI_ALPHA_MODE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetAvailableFence"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"fenceValue","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt64"}},"Attrs":["Out"]}
+ ,{"Name":"iid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
+ ,{"Name":"availableFence","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IDCompositionDevice4"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"85fc5cca-2da6-494c-86b6-4a775c049b8a"
+ ,"Interface":{"Kind":"ApiRef","Name":"IDCompositionDevice3","TargetKind":"Com","Api":"Graphics.DirectComposition","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"CheckCompositionTextureSupport"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"renderingDevice","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"supportsCompositionTextures","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
+ ]
+ }
+ ,{
+ "Name":"CreateCompositionTexture"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"d3dTexture","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"compositionTexture","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDCompositionTexture","TargetKind":"Com","Api":"Graphics.DirectComposition","Parents":[]}},"Attrs":["Out"]}
+ ]
+ }
+ ]
+ }
]
,"Functions":[
diff --git a/src/Generator/win32json/api/Graphics.DirectWrite.json b/src/Generator/win32json/api/Graphics.DirectWrite.json
index a0d9cc3..b39460d 100644
--- a/src/Generator/win32json/api/Graphics.DirectWrite.json
+++ b/src/Generator/win32json/api/Graphics.DirectWrite.json
@@ -57,6 +57,13 @@
,"Value":5
,"Attrs":[]
}
+ ,{
+ "Name":"DWRITE_NO_PALETTE_INDEX"
+ ,"Type":{"Kind":"Native","Name":"UInt32"}
+ ,"ValueType":"UInt32"
+ ,"Value":65535
+ ,"Attrs":[]
+ }
]
,"Types":[
@@ -124,6 +131,7 @@
,{"Name":"DWRITE_GLYPH_IMAGE_FORMATS_JPEG","Value":32}
,{"Name":"DWRITE_GLYPH_IMAGE_FORMATS_TIFF","Value":64}
,{"Name":"DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8","Value":128}
+ ,{"Name":"DWRITE_GLYPH_IMAGE_FORMATS_COLR_PAINT_TREE","Value":256}
]
,"IntegerBase":"Int32"
}
@@ -9168,6 +9176,574 @@
}
]
}
+ ,{
+ "Name":"DWRITE_BITMAP_DATA_BGRA32"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"width","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"height","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"pixels","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"IDWriteBitmapRenderTarget2"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"c553a742-fc01-44da-a66e-b8b9ed6c3995"
+ ,"Interface":{"Kind":"ApiRef","Name":"IDWriteBitmapRenderTarget1","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetBitmapData"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"bitmapData","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_BITMAP_DATA_BGRA32","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"DWRITE_PAINT_FEATURE_LEVEL"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DWRITE_PAINT_FEATURE_LEVEL_NONE","Value":0}
+ ,{"Name":"DWRITE_PAINT_FEATURE_LEVEL_COLR_V0","Value":1}
+ ,{"Name":"DWRITE_PAINT_FEATURE_LEVEL_COLR_V1","Value":2}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"DWRITE_PAINT_ATTRIBUTES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DWRITE_PAINT_ATTRIBUTES_NONE","Value":0}
+ ,{"Name":"DWRITE_PAINT_ATTRIBUTES_USES_PALETTE","Value":1}
+ ,{"Name":"DWRITE_PAINT_ATTRIBUTES_USES_TEXT_COLOR","Value":2}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"DWRITE_PAINT_COLOR"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"value","Type":{"Kind":"ApiRef","Name":"DWRITE_COLOR_F","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ,{"Name":"paletteEntryIndex","Type":{"Kind":"Native","Name":"UInt16"},"Attrs":[]}
+ ,{"Name":"alphaMultiplier","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"colorAttributes","Type":{"Kind":"ApiRef","Name":"DWRITE_PAINT_ATTRIBUTES","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"DWRITE_COLOR_COMPOSITE_MODE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DWRITE_COLOR_COMPOSITE_CLEAR","Value":0}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SRC","Value":1}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DEST","Value":2}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SRC_OVER","Value":3}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DEST_OVER","Value":4}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SRC_IN","Value":5}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DEST_IN","Value":6}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SRC_OUT","Value":7}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DEST_OUT","Value":8}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SRC_ATOP","Value":9}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DEST_ATOP","Value":10}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_XOR","Value":11}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_PLUS","Value":12}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SCREEN","Value":13}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_OVERLAY","Value":14}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DARKEN","Value":15}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_LIGHTEN","Value":16}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_COLOR_DODGE","Value":17}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_COLOR_BURN","Value":18}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_HARD_LIGHT","Value":19}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_SOFT_LIGHT","Value":20}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_DIFFERENCE","Value":21}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_EXCLUSION","Value":22}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_MULTIPLY","Value":23}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_HSL_HUE","Value":24}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_HSL_SATURATION","Value":25}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_HSL_COLOR","Value":26}
+ ,{"Name":"DWRITE_COLOR_COMPOSITE_HSL_LUMINOSITY","Value":27}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"DWRITE_PAINT_TYPE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DWRITE_PAINT_TYPE_NONE","Value":0}
+ ,{"Name":"DWRITE_PAINT_TYPE_LAYERS","Value":1}
+ ,{"Name":"DWRITE_PAINT_TYPE_SOLID_GLYPH","Value":2}
+ ,{"Name":"DWRITE_PAINT_TYPE_SOLID","Value":3}
+ ,{"Name":"DWRITE_PAINT_TYPE_LINEAR_GRADIENT","Value":4}
+ ,{"Name":"DWRITE_PAINT_TYPE_RADIAL_GRADIENT","Value":5}
+ ,{"Name":"DWRITE_PAINT_TYPE_SWEEP_GRADIENT","Value":6}
+ ,{"Name":"DWRITE_PAINT_TYPE_GLYPH","Value":7}
+ ,{"Name":"DWRITE_PAINT_TYPE_COLOR_GLYPH","Value":8}
+ ,{"Name":"DWRITE_PAINT_TYPE_TRANSFORM","Value":9}
+ ,{"Name":"DWRITE_PAINT_TYPE_COMPOSITE","Value":10}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"DWRITE_PAINT_ELEMENT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"paintType","Type":{"Kind":"ApiRef","Name":"DWRITE_PAINT_TYPE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ,{"Name":"paint","Type":{"Kind":"ApiRef","Name":"PAINT_UNION","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ {
+ "Name":"PAINT_UNION"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Union"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"layers","Type":{"Kind":"ApiRef","Name":"PAINT_LAYERS","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"solidGlyph","Type":{"Kind":"ApiRef","Name":"PAINT_SOLID_GLYPH","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"solid","Type":{"Kind":"ApiRef","Name":"DWRITE_PAINT_COLOR","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ,{"Name":"linearGradient","Type":{"Kind":"ApiRef","Name":"PAINT_LINEAR_GRADIENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"radialGradient","Type":{"Kind":"ApiRef","Name":"PAINT_RADIAL_GRADIENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"sweepGradient","Type":{"Kind":"ApiRef","Name":"PAINT_SWEEP_GRADIENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"glyph","Type":{"Kind":"ApiRef","Name":"PAINT_GLYPH","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"colorGlyph","Type":{"Kind":"ApiRef","Name":"PAINT_COLOR_GLYPH","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ,{"Name":"transform","Type":{"Kind":"ApiRef","Name":"DWRITE_MATRIX","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ,{"Name":"composite","Type":{"Kind":"ApiRef","Name":"PAINT_COMPOSITE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":["PAINT_UNION"]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ {
+ "Name":"PAINT_COMPOSITE"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"mode","Type":{"Kind":"ApiRef","Name":"DWRITE_COLOR_COMPOSITE_MODE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_GLYPH"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"glyphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_RADIAL_GRADIENT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"extendMode","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"gradientStopCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"x0","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"y0","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"radius0","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"x1","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"y1","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"radius1","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_SOLID_GLYPH"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"glyphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"color","Type":{"Kind":"ApiRef","Name":"DWRITE_PAINT_COLOR","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_COLOR_GLYPH"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"glyphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"clipBox","Type":{"Kind":"ApiRef","Name":"D2D_RECT_F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_LINEAR_GRADIENT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"extendMode","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"gradientStopCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"x0","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"y0","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"x1","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"y1","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"x2","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"y2","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_LAYERS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"childCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PAINT_SWEEP_GRADIENT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ {"Name":"extendMode","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"gradientStopCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"centerX","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"centerY","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"startAngle","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"endAngle","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IDWritePaintReader"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"8128e912-3b97-42a5-ab6c-24aad3a86e54"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"SetCurrentGlyph"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"glyphIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"paintElement","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_PAINT_ELEMENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":2}]}
+ ,{"Name":"structSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"clipBox","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"D2D_RECT_F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["Out"]}
+ ,{"Name":"glyphAttributes","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_PAINT_ATTRIBUTES","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","Optional"]}
+ ]
+ }
+ ,{
+ "Name":"SetTextColor"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"textColor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_COLOR_F","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ]
+ }
+ ,{
+ "Name":"SetColorPaletteIndex"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"colorPaletteIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetCustomColorPalette"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"paletteEntries","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"DWRITE_COLOR_F","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ,{"Name":"paletteEntryCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"MoveToFirstChild"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"paintElement","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_PAINT_ELEMENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":1}]}
+ ,{"Name":"structSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"MoveToNextSibling"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"paintElement","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_PAINT_ELEMENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out",{"Kind":"MemorySize","BytesParamIndex":1}]}
+ ,{"Name":"structSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"MoveToParent"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetGradientStops"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"firstGradientStopIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"gradientStopCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"gradientStops","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"D2D1_GRADIENT_STOP","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]}},"Attrs":["Out"]}
+ ]
+ }
+ ,{
+ "Name":"GetGradientStopColors"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"firstGradientStopIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"gradientStopCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"gradientStopColors","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":1,"Child":{"Kind":"ApiRef","Name":"DWRITE_PAINT_COLOR","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IDWriteFontFace7"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"3945b85b-bc95-40f7-b72c-8b73bfc7e13b"
+ ,"Interface":{"Kind":"ApiRef","Name":"IDWriteFontFace6","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetPaintFeatureLevel"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"DWRITE_PAINT_FEATURE_LEVEL","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"glyphImageFormat","Type":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_IMAGE_FORMATS","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"CreatePaintReader"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"glyphImageFormat","Type":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_IMAGE_FORMATS","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"paintFeatureLevel","Type":{"Kind":"ApiRef","Name":"DWRITE_PAINT_FEATURE_LEVEL","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"paintReader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWritePaintReader","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IDWriteFactory8"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"ee0a7fb5-def4-4c23-a454-c9c7dc878398"
+ ,"Interface":{"Kind":"ApiRef","Name":"IDWriteFactory7","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"TranslateColorGlyphRun"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"baselineOrigin","Type":{"Kind":"ApiRef","Name":"D2D_POINT_2F","TargetKind":"Default","Api":"Graphics.Direct2D.Common","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"glyphRun","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ,{"Name":"glyphRunDescription","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN_DESCRIPTION","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Optional","Const"]}
+ ,{"Name":"desiredGlyphImageFormats","Type":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_IMAGE_FORMATS","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"paintFeatureLevel","Type":{"Kind":"ApiRef","Name":"DWRITE_PAINT_FEATURE_LEVEL","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"measuringMode","Type":{"Kind":"ApiRef","Name":"DWRITE_MEASURING_MODE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"worldAndDpiTransform","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_MATRIX","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Optional","Const"]}
+ ,{"Name":"colorPaletteIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"colorEnumerator","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteColorGlyphRunEnumerator1","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IDWriteBitmapRenderTarget3"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"aeec37db-c337-40f1-8e2a-9a41b167b238"
+ ,"Interface":{"Kind":"ApiRef","Name":"IDWriteBitmapRenderTarget2","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetPaintFeatureLevel"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"DWRITE_PAINT_FEATURE_LEVEL","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"DrawPaintGlyphRun"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"baselineOriginX","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"baselineOriginY","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"measuringMode","Type":{"Kind":"ApiRef","Name":"DWRITE_MEASURING_MODE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"glyphRun","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ,{"Name":"glyphImageFormat","Type":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_IMAGE_FORMATS","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"textColor","Type":{"Kind":"ApiRef","Name":"COLORREF","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"colorPaletteIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"blackBoxRect","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"RECT","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]}
+ ]
+ }
+ ,{
+ "Name":"DrawGlyphRunWithColorSupport"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"baselineOriginX","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"baselineOriginY","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"measuringMode","Type":{"Kind":"ApiRef","Name":"DWRITE_MEASURING_MODE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"glyphRun","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_RUN","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
+ ,{"Name":"renderingParams","Type":{"Kind":"ApiRef","Name":"IDWriteRenderingParams","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"textColor","Type":{"Kind":"ApiRef","Name":"COLORREF","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"colorPaletteIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"blackBoxRect","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"RECT","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]}
+ ]
+ }
+ ]
+ }
]
,"Functions":[
diff --git a/src/Generator/win32json/api/Graphics.Dxgi.json b/src/Generator/win32json/api/Graphics.Dxgi.json
index 51a6f59..6645c87 100644
--- a/src/Generator/win32json/api/Graphics.Dxgi.json
+++ b/src/Generator/win32json/api/Graphics.Dxgi.json
@@ -2,201 +2,12 @@
"Constants":[
{
- "Name":"DXGI_RESOURCE_PRIORITY_MINIMUM"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":671088640
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_RESOURCE_PRIORITY_LOW"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1342177280
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_RESOURCE_PRIORITY_NORMAL"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2013265920
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_RESOURCE_PRIORITY_HIGH"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2684354560
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_RESOURCE_PRIORITY_MAXIMUM"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":3355443200
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MAP_READ"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MAP_WRITE"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MAP_DISCARD"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":4
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_ENUM_MODES_INTERLACED"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_ENUM_MODES_SCALING"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2
- ,"Attrs":[]
- }
- ,{
"Name":"DXGI_MAX_SWAP_CHAIN_BUFFERS"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":16
,"Attrs":[]
}
- ,{
- "Name":"DXGI_PRESENT_TEST"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_DO_NOT_SEQUENCE"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_RESTART"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":4
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_DO_NOT_WAIT"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":8
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_STEREO_PREFER_RIGHT"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":16
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_STEREO_TEMPORARY_MONO"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":32
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_RESTRICT_TO_OUTPUT"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":64
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_USE_DURATION"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":256
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_PRESENT_ALLOW_TEARING"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":512
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MWA_NO_WINDOW_CHANGES"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MWA_NO_ALT_ENTER"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MWA_NO_PRINT_SCREEN"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":4
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_MWA_VALID"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":7
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_ENUM_MODES_STEREO"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":4
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_ENUM_MODES_DISABLED_STEREO"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":8
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_SHARED_RESOURCE_READ"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":2147483648
- ,"Attrs":[]
- }
- ,{
- "Name":"DXGI_SHARED_RESOURCE_WRITE"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1
- ,"Attrs":[]
- }
,{
"Name":"DXGI_DEBUG_BINARY_VERSION"
,"Type":{"Kind":"Native","Name":"UInt32"}
@@ -246,13 +57,6 @@
,"Value":1024
,"Attrs":[]
}
- ,{
- "Name":"DXGI_CREATE_FACTORY_DEBUG"
- ,"Type":{"Kind":"Native","Name":"UInt32"}
- ,"ValueType":"UInt32"
- ,"Value":1
- ,"Attrs":[]
- }
,{
"Name":"DXGI_ERROR_INVALID_CALL"
,"Type":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
@@ -522,6 +326,111 @@
]
,"IntegerBase":"UInt32"
}
+ ,{
+ "Name":"DXGI_PRESENT"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_PRESENT_TEST","Value":1}
+ ,{"Name":"DXGI_PRESENT_DO_NOT_SEQUENCE","Value":2}
+ ,{"Name":"DXGI_PRESENT_RESTART","Value":4}
+ ,{"Name":"DXGI_PRESENT_DO_NOT_WAIT","Value":8}
+ ,{"Name":"DXGI_PRESENT_STEREO_PREFER_RIGHT","Value":16}
+ ,{"Name":"DXGI_PRESENT_STEREO_TEMPORARY_MONO","Value":32}
+ ,{"Name":"DXGI_PRESENT_RESTRICT_TO_OUTPUT","Value":64}
+ ,{"Name":"DXGI_PRESENT_USE_DURATION","Value":256}
+ ,{"Name":"DXGI_PRESENT_ALLOW_TEARING","Value":512}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
+ ,{
+ "Name":"DXGI_ENUM_MODES"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_ENUM_MODES_INTERLACED","Value":1}
+ ,{"Name":"DXGI_ENUM_MODES_SCALING","Value":2}
+ ,{"Name":"DXGI_ENUM_MODES_STEREO","Value":4}
+ ,{"Name":"DXGI_ENUM_MODES_DISABLED_STEREO","Value":8}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
+ ,{
+ "Name":"DXGI_MWA_FLAGS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_MWA_NO_WINDOW_CHANGES","Value":1}
+ ,{"Name":"DXGI_MWA_NO_ALT_ENTER","Value":2}
+ ,{"Name":"DXGI_MWA_NO_PRINT_SCREEN","Value":4}
+ ,{"Name":"DXGI_MWA_VALID","Value":7}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
+ ,{
+ "Name":"DXGI_MAP_FLAGS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_MAP_READ","Value":1}
+ ,{"Name":"DXGI_MAP_WRITE","Value":2}
+ ,{"Name":"DXGI_MAP_DISCARD","Value":4}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
+ ,{
+ "Name":"DXGI_RESOURCE_PRIORITY"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_RESOURCE_PRIORITY_MINIMUM","Value":671088640}
+ ,{"Name":"DXGI_RESOURCE_PRIORITY_LOW","Value":1342177280}
+ ,{"Name":"DXGI_RESOURCE_PRIORITY_NORMAL","Value":2013265920}
+ ,{"Name":"DXGI_RESOURCE_PRIORITY_HIGH","Value":2684354560}
+ ,{"Name":"DXGI_RESOURCE_PRIORITY_MAXIMUM","Value":3355443200}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
+ ,{
+ "Name":"DXGI_SHARED_RESOURCE_RW"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_SHARED_RESOURCE_READ","Value":2147483648}
+ ,{"Name":"DXGI_SHARED_RESOURCE_WRITE","Value":1}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
+ ,{
+ "Name":"DXGI_CREATE_FACTORY_FLAGS"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":true
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"DXGI_CREATE_FACTORY_DEBUG","Value":1}
+ ]
+ ,"IntegerBase":"UInt32"
+ }
,{
"Name":"DXGI_FRAME_STATISTICS"
,"Architectures":[]
@@ -660,7 +569,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_SWAP_CHAIN_FLAG_NONPREROTATED","Value":1}
@@ -695,7 +604,7 @@
,{"Name":"OutputWindow","Type":{"Kind":"ApiRef","Name":"HWND","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
,{"Name":"Windowed","Type":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
,{"Name":"SwapEffect","Type":{"Kind":"ApiRef","Name":"DXGI_SWAP_EFFECT","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":[]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[{"Kind":"AssociatedEnum","Value":"DXGI_SWAP_CHAIN_FLAG"}]}
]
,"NestedTypes":[
]
@@ -828,7 +737,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"EvictionPriority","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ {"Name":"EvictionPriority","Type":{"Kind":"ApiRef","Name":"DXGI_RESOURCE_PRIORITY","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
]
}
,{
@@ -840,7 +749,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pEvictionPriority","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
+ {"Name":"pEvictionPriority","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_RESOURCE_PRIORITY","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
]
}
]
@@ -897,7 +806,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SURFACE_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SURFACE_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -910,7 +819,7 @@
,"Attrs":[]
,"Params":[
{"Name":"pLockedRect","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_MAPPED_RECT","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
- ,{"Name":"MapFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"MapFlags","Type":{"Kind":"ApiRef","Name":"DXGI_MAP_FLAGS","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
]
}
,{
@@ -991,7 +900,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -1026,7 +935,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_OUTPUT_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_OUTPUT_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -1039,7 +948,7 @@
,"Attrs":[]
,"Params":[
{"Name":"EnumFormat","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"DXGI_ENUM_MODES","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
,{"Name":"pNumModes","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out"]}
,{"Name":"pDesc","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"DXGI_MODE_DESC","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]}},"Attrs":["Out","Optional"]}
]
@@ -1185,7 +1094,7 @@
,"Attrs":[]
,"Params":[
{"Name":"SyncInterval","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"DXGI_PRESENT","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
]
}
,{
@@ -1237,7 +1146,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SWAP_CHAIN_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SWAP_CHAIN_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -1253,7 +1162,7 @@
,{"Name":"Width","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"Height","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"NewFormat","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
- ,{"Name":"SwapChainFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"SwapChainFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In",{"Kind":"AssociatedEnum","Enum":"DXGI_SWAP_CHAIN_FLAG"}]}
]
}
,{
@@ -1337,7 +1246,7 @@
,"Attrs":[]
,"Params":[
{"Name":"WindowHandle","Type":{"Kind":"ApiRef","Name":"HWND","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"DXGI_MWA_FLAGS","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
]
}
,{
@@ -1489,7 +1398,7 @@
,{"Name":"DedicatedSystemMemory","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":[]}
,{"Name":"SharedSystemMemory","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":[]}
,{"Name":"AdapterLuid","Type":{"Kind":"ApiRef","Name":"LUID","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[{"Kind":"AssociatedEnum","Value":"DXGI_ADAPTER_FLAG"}]}
]
,"NestedTypes":[
]
@@ -1560,7 +1469,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
]
@@ -1748,7 +1657,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_OUTDUPL_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_OUTDUPL_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -2079,7 +1988,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SWAP_CHAIN_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SWAP_CHAIN_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -2091,7 +2000,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SWAP_CHAIN_FULLSCREEN_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_SWAP_CHAIN_FULLSCREEN_DESC","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -2129,7 +2038,7 @@
,"Attrs":[]
,"Params":[
{"Name":"SyncInterval","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"PresentFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"PresentFlags","Type":{"Kind":"ApiRef","Name":"DXGI_PRESENT","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
,{"Name":"pPresentParameters","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_PRESENT_PARAMETERS","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["In","Const"]}
]
}
@@ -2416,7 +2325,7 @@
,{"Name":"DedicatedSystemMemory","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":[]}
,{"Name":"SharedSystemMemory","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":[]}
,{"Name":"AdapterLuid","Type":{"Kind":"ApiRef","Name":"LUID","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[{"Kind":"AssociatedEnum","Value":"DXGI_ADAPTER_FLAG"}]}
,{"Name":"GraphicsPreemptionGranularity","Type":{"Kind":"ApiRef","Name":"DXGI_GRAPHICS_PREEMPTION_GRANULARITY","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":[]}
,{"Name":"ComputePreemptionGranularity","Type":{"Kind":"ApiRef","Name":"DXGI_COMPUTE_PREEMPTION_GRANULARITY","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":[]}
]
@@ -2440,7 +2349,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC2","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC2","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
]
@@ -2463,7 +2372,7 @@
,"Attrs":[]
,"Params":[
{"Name":"EnumFormat","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"DXGI_ENUM_MODES","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
,{"Name":"pNumModes","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out"]}
,{"Name":"pDesc","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"DXGI_MODE_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","Optional"]}
]
@@ -2676,7 +2585,7 @@
{
"Name":"GetCreationFlags"
,"SetLastError":false
- ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnType":{"Kind":"ApiRef","Name":"DXGI_CREATE_FACTORY_FLAGS","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
@@ -2695,7 +2604,7 @@
,"PackingSize":0
,"SizeField":""
,"Fields":[
- {"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ {"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[{"Kind":"AssociatedEnum","Value":"DXGI_SWAP_CHAIN_FLAG"}]}
]
,"NestedTypes":[
]
@@ -2705,7 +2614,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE","Value":1}
@@ -2733,7 +2642,7 @@
,"Params":[
{"Name":"BufferToPresent","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"SyncInterval","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"Flags","Type":{"Kind":"ApiRef","Name":"DXGI_PRESENT","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
]
}
,{
@@ -2966,7 +2875,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_OVERLAY_SUPPORT_FLAG_DIRECT","Value":1}
@@ -2993,7 +2902,7 @@
,"Params":[
{"Name":"EnumFormat","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
,{"Name":"pConcernedDevice","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
- ,{"Name":"pFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
+ ,{"Name":"pFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out",{"Kind":"AssociatedEnum","Enum":"DXGI_OVERLAY_SUPPORT_FLAG"}]}
]
}
]
@@ -3003,7 +2912,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT","Value":1}
@@ -3040,7 +2949,7 @@
,"Attrs":[]
,"Params":[
{"Name":"ColorSpace","Type":{"Kind":"ApiRef","Name":"DXGI_COLOR_SPACE_TYPE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
- ,{"Name":"pColorSpaceSupport","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
+ ,{"Name":"pColorSpaceSupport","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out",{"Kind":"AssociatedEnum","Enum":"DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG"}]}
]
}
,{
@@ -3068,7 +2977,7 @@
,{"Name":"Width","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"Height","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"Format","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
- ,{"Name":"SwapChainFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"SwapChainFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In",{"Kind":"AssociatedEnum","Enum":"DXGI_SWAP_CHAIN_FLAG"}]}
,{"Name":"pCreationNodeMask","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":0,"Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Const"]}
,{"Name":"ppPresentQueue","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":0,"Child":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}},"Attrs":["In"]}
]
@@ -3080,7 +2989,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG_PRESENT","Value":1}
@@ -3107,7 +3016,7 @@
{"Name":"Format","Type":{"Kind":"ApiRef","Name":"DXGI_FORMAT","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
,{"Name":"ColorSpace","Type":{"Kind":"ApiRef","Name":"DXGI_COLOR_SPACE_TYPE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
,{"Name":"pConcernedDevice","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
- ,{"Name":"pFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
+ ,{"Name":"pFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out",{"Kind":"AssociatedEnum","Enum":"DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG"}]}
]
}
]
@@ -3272,7 +3181,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_OUTDUPL_COMPOSITED_UI_CAPTURE_ONLY","Value":1}
@@ -3383,7 +3292,7 @@
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
- ,"Flags":false
+ ,"Flags":true
,"Scoped":false
,"Values":[
{"Name":"DXGI_OFFER_RESOURCE_FLAG_ALLOW_DECOMMIT","Value":1}
@@ -3424,7 +3333,7 @@
{"Name":"NumResources","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"ppResources","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":0,"Child":{"Kind":"ApiRef","Name":"IDXGIResource","TargetKind":"Com","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["In"]}
,{"Name":"Priority","Type":{"Kind":"ApiRef","Name":"DXGI_OFFER_RESOURCE_PRIORITY","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
- ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ ,{"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In",{"Kind":"AssociatedEnum","Enum":"DXGI_OFFER_RESOURCE_FLAGS"}]}
]
}
,{
@@ -3539,7 +3448,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC3","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_ADAPTER_DESC3","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
]
@@ -3602,7 +3511,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_OUTPUT_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"pDesc","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DXGI_OUTPUT_DESC1","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","RetVal"]}
]
}
,{
@@ -3614,7 +3523,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"pFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
+ {"Name":"pFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out",{"Kind":"AssociatedEnum","Enum":"DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS"}]}
]
}
]
@@ -4761,7 +4670,7 @@
,"Platform":"windows8.1"
,"Attrs":[]
,"Params":[
- {"Name":"Flags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
+ {"Name":"Flags","Type":{"Kind":"ApiRef","Name":"DXGI_CREATE_FACTORY_FLAGS","TargetKind":"Default","Api":"Graphics.Dxgi","Parents":[]},"Attrs":["In"]}
,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
,{"Name":"ppFactory","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr"]}
]
diff --git a/src/Generator/win32json/api/Graphics.Gdi.json b/src/Generator/win32json/api/Graphics.Gdi.json
index 70ad61d..7ff0a1b 100644
--- a/src/Generator/win32json/api/Graphics.Gdi.json
+++ b/src/Generator/win32json/api/Graphics.Gdi.json
@@ -1331,13 +1331,6 @@
,"Value":0
,"Attrs":[]
}
- ,{
- "Name":"LCS_CALIBRATED_RGB"
- ,"Type":{"Kind":"Native","Name":"Int32"}
- ,"ValueType":"Int32"
- ,"Value":0
- ,"Attrs":[]
- }
,{
"Name":"LCS_GM_BUSINESS"
,"Type":{"Kind":"Native","Name":"Int32"}
@@ -7598,7 +7591,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":"HGDIOBJ"
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteObject"
}
,{
@@ -7607,7 +7600,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":"HGDIOBJ"
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteObject"
}
,{
@@ -7616,7 +7609,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":"HGDIOBJ"
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteObject"
}
,{
@@ -7625,7 +7618,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":"HGDIOBJ"
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteObject"
}
,{
@@ -7634,7 +7627,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":"HGDIOBJ"
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteObject"
}
,{
@@ -7643,7 +7636,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteMetaFile"
}
,{
@@ -7652,7 +7645,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteEnhMetaFile"
}
,{
@@ -7661,7 +7654,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":"HGDIOBJ"
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"DeleteObject"
}
,{
@@ -7670,7 +7663,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":null
}
,{
@@ -7679,8 +7672,8 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
+ ,"FreeFunc":"DeleteObject"
}
,{
"Name":"HMONITOR"
@@ -7688,7 +7681,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":null
}
,{
diff --git a/src/Generator/win32json/api/Graphics.GdiPlus.json b/src/Generator/win32json/api/Graphics.GdiPlus.json
index ce78aee..a3c8d78 100644
--- a/src/Generator/win32json/api/Graphics.GdiPlus.json
+++ b/src/Generator/win32json/api/Graphics.GdiPlus.json
@@ -2126,225 +2126,321 @@
,"Types":[
{
- "Name":"PathData"
- ,"Architectures":[]
- ,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
- }
- ,{
"Name":"GpGraphics"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpBrush"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpTexture"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpSolidFill"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpLineGradient"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpPathGradient"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpHatch"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpPen"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpCustomLineCap"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpAdjustableArrowCap"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpImage"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpBitmap"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpMetafile"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpImageAttributes"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpPath"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpRegion"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpPathIterator"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpFontFamily"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpFont"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpStringFormat"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpFontCollection"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpInstalledFontCollection"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpPrivateFontCollection"
,"Architectures":[]
,"Platform":null
- ,"Kind":"NativeTypedef"
- ,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
- ,"FreeFunc":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
}
,{
"Name":"GpCachedBitmap"
,"Architectures":[]
,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"SizeField":""
+ ,"Fields":[
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PathData"
+ ,"Architectures":[]
+ ,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
,"Def":{"Kind":"Native","Name":"IntPtr"}
diff --git a/src/Generator/win32json/api/Graphics.OpenGL.json b/src/Generator/win32json/api/Graphics.OpenGL.json
index e3b741e..e4e9bea 100644
--- a/src/Generator/win32json/api/Graphics.OpenGL.json
+++ b/src/Generator/win32json/api/Graphics.OpenGL.json
@@ -4988,7 +4988,7 @@
,"Platform":null
,"Kind":"NativeTypedef"
,"AlsoUsableFor":null
- ,"Def":{"Kind":"Native","Name":"IntPtr"}
+ ,"Def":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}
,"FreeFunc":"wglDeleteContext"
}
,{
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs
index bd95042..404258d 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs
@@ -23,17 +23,6 @@ public partial struct BitmapProperties
public float dpiY;
}
-///
-/// D2D1_GRADIENT_STOP
-public partial struct GradientStop
-{
- ///
- public float position;
-
- ///
- public Color4 color;
-}
-
///
/// D2D1_BRUSH_PROPERTIES
public partial struct BrushProperties
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs
index dc7f095..8a95905 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs
index 6320116..1bf9545 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Device7.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Device7.cs
new file mode 100644
index 0000000..f01e66c
--- /dev/null
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Device7.cs
@@ -0,0 +1,223 @@
+// ------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+// ------------------------------------------------------------------------------
+
+namespace Win32.Graphics.Direct2D;
+
+///
+/// ID2D1Device7
+[Guid("f07c8968-dd4e-4ba6-9cbd-eb6d3752dcbb")]
+[NativeTypeName("struct ID2D1Device7 : ID2D1Device6")]
+[NativeInheritance("ID2D1Device6")]
+public unsafe partial struct ID2D1Device7 : ID2D1Device7.Interface, INativeGuid
+{
+ public static ref readonly Guid IID_ID2D1Device7
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ ReadOnlySpan data = new byte[] {
+ 0x68, 0x89, 0x7C, 0xF0,
+ 0x4E, 0xDD,
+ 0xA6, 0x4B,
+ 0x9C,
+ 0xBD,
+ 0xEB,
+ 0x6D,
+ 0x37,
+ 0x52,
+ 0xDC,
+ 0xBB
+ };
+
+ Debug.Assert(data.Length == Unsafe.SizeOf());
+ return ref Unsafe.As(ref MemoryMarshal.GetReference(data));
+ }
+ }
+
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device7));
+
+ public void** lpVtbl;
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(0)]
+ public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID2D1Device7*)Unsafe.AsPointer(ref this), riid, ppvObject);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(1)]
+ [return: NativeTypeName("ULONG")]
+ public uint AddRef()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ID2D1Device7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(2)]
+ [return: NativeTypeName("ULONG")]
+ public uint Release()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID2D1Device7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(3)]
+ public void GetFactory(ID2D1Factory** factory)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID2D1Device7*)Unsafe.AsPointer(ref this), factory);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(4)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(5)]
+ public void SetMaximumTextureMemory(ulong maximumInBytes)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID2D1Device7*)Unsafe.AsPointer(ref this), maximumInBytes);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(6)]
+ public ulong GetMaximumTextureMemory()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID2D1Device7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(7)]
+ public void ClearResources(uint millisecondsSinceUse)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ID2D1Device7*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(8)]
+ public RenderingPriority GetRenderingPriority()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID2D1Device7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(9)]
+ public void SetRenderingPriority(RenderingPriority renderingPriority)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1Device7*)Unsafe.AsPointer(ref this), renderingPriority);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(10)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext1);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(11)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext2);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(12)]
+ public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ID2D1Device7*)Unsafe.AsPointer(ref this), bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(13)]
+ public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((ID2D1Device7*)Unsafe.AsPointer(ref this), dxgiDevice);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(14)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext3);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(15)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext4);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(16)]
+ public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ID2D1Device7*)Unsafe.AsPointer(ref this), maximumInBytes);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(17)]
+ public ulong GetMaximumColorGlyphCacheMemory()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ID2D1Device7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(18)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext5** deviceContext5)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext5);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(19)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext6** deviceContext6)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext6);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(20)]
+ public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext7** deviceContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((ID2D1Device7*)Unsafe.AsPointer(ref this), options, deviceContext);
+ }
+
+ public interface Interface : ID2D1Device6.Interface
+ {
+ [VtblIndex(20)]
+ HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext7** deviceContext);
+ }
+}
+
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs
index e0687d4..ec9db4b 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
@@ -809,7 +809,7 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
HResult CreateEffect(Guid* effectId, ID2D1Effect** effect);
[VtblIndex(64)]
- HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1);
+ HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1);
[VtblIndex(65)]
HResult CreateImageBrush(ID2D1Image* image, ImageBrushProperties* imageBrushProperties, BrushProperties* brushProperties, ID2D1ImageBrush** imageBrush);
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs
index c41f491..0570b13 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs
index a289806..f001046 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs
index 95c7eca..76cab15 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext4.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext4.cs
index 712ae6d..f329203 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext4.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext4.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
@@ -924,9 +924,9 @@ public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(109)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
}
///
@@ -975,7 +975,7 @@ public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
HResult CreateSvgGlyphStyle(ID2D1SvgGlyphStyle** svgGlyphStyle);
[VtblIndex(109)]
- void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode);
+ void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode);
[VtblIndex(110)]
void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options);
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext5.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext5.cs
index c4d4fc1..65d5055 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext5.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext5.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
@@ -924,9 +924,9 @@ public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(109)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext6.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext6.cs
index fd19760..291e59d 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext6.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext6.cs
@@ -121,9 +121,9 @@ public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
}
///
@@ -265,9 +265,9 @@ public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -564,9 +564,9 @@ public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
- public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
}
///
@@ -924,9 +924,9 @@ public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(109)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
- ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext7.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext7.cs
new file mode 100644
index 0000000..2b8d74c
--- /dev/null
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext7.cs
@@ -0,0 +1,1048 @@
+// ------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+// ------------------------------------------------------------------------------
+
+namespace Win32.Graphics.Direct2D;
+
+///
+/// ID2D1DeviceContext7
+[Guid("ec891cf7-9b69-4851-9def-4e0915771e62")]
+[NativeTypeName("struct ID2D1DeviceContext7 : ID2D1DeviceContext6")]
+[NativeInheritance("ID2D1DeviceContext6")]
+public unsafe partial struct ID2D1DeviceContext7 : ID2D1DeviceContext7.Interface, INativeGuid
+{
+ public static ref readonly Guid IID_ID2D1DeviceContext7
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ ReadOnlySpan data = new byte[] {
+ 0xF7, 0x1C, 0x89, 0xEC,
+ 0x69, 0x9B,
+ 0x51, 0x48,
+ 0x9D,
+ 0xEF,
+ 0x4E,
+ 0x09,
+ 0x15,
+ 0x77,
+ 0x1E,
+ 0x62
+ };
+
+ Debug.Assert(data.Length == Unsafe.SizeOf());
+ return ref Unsafe.As(ref MemoryMarshal.GetReference(data));
+ }
+ }
+
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext7));
+
+ public void** lpVtbl;
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(0)]
+ public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), riid, ppvObject);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(1)]
+ [return: NativeTypeName("ULONG")]
+ public uint AddRef()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(2)]
+ [return: NativeTypeName("ULONG")]
+ public uint Release()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(3)]
+ public void GetFactory(ID2D1Factory** factory)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), factory);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(4)]
+ public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(5)]
+ public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(6)]
+ public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(7)]
+ public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(8)]
+ public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(9)]
+ public HResult CreateGradientStopCollection(Common.GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(10)]
+ public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(11)]
+ public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(12)]
+ public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(13)]
+ public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), size, layer);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(14)]
+ public HResult CreateMesh(ID2D1Mesh** mesh)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), mesh);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(15)]
+ public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(16)]
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(17)]
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), rect, brush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(18)]
+ public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(19)]
+ public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), roundedRect, brush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(20)]
+ public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(21)]
+ public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), ellipse, brush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(22)]
+ public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(23)]
+ public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[23]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(24)]
+ public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), mesh, brush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(25)]
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(26)]
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[26]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(27)]
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(28)]
+ public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(29)]
+ public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(30)]
+ public void SetTransform(Matrix3x2* transform)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), transform);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(31)]
+ public void GetTransform(Matrix3x2* transform)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[31]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), transform);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(32)]
+ public void SetAntialiasMode(AntialiasMode antialiasMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[32]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), antialiasMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(33)]
+ public AntialiasMode GetAntialiasMode()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[33]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(34)]
+ public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[34]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), textAntialiasMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(35)]
+ public TextAntialiasMode GetTextAntialiasMode()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[35]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(36)]
+ public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[36]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), textRenderingParams);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(37)]
+ public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[37]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), textRenderingParams);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(38)]
+ public void SetTags(ulong tag1, ulong tag2)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[38]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), tag1, tag2);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(39)]
+ public void GetTags(ulong* tag1, ulong* tag2)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[39]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), tag1, tag2);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(40)]
+ public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[40]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), layerParameters, layer);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(41)]
+ public void PopLayer()
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[41]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(42)]
+ public HResult Flush(ulong* tag1, ulong* tag2)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[42]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), tag1, tag2);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(43)]
+ public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[43]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), drawingStateBlock);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(44)]
+ public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[44]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), drawingStateBlock);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(45)]
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[45]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(46)]
+ public void PopAxisAlignedClip()
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[46]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(47)]
+ public void Clear(Color4* clearColor)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[47]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), clearColor);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(48)]
+ public void BeginDraw()
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[48]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(49)]
+ public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[49]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), tag1, tag2);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(50)]
+ public Common.PixelFormat GetPixelFormat()
+ {
+ Common.PixelFormat result;
+ return *((delegate* unmanaged[MemberFunction])(lpVtbl[50]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), &result);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(51)]
+ public void SetDpi(float dpiX, float dpiY)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[51]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), dpiX, dpiY);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(52)]
+ public void GetDpi(float* dpiX, float* dpiY)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[52]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), dpiX, dpiY);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(53)]
+ public System.Drawing.SizeF GetSize()
+ {
+ System.Drawing.SizeF result;
+ return *((delegate* unmanaged[MemberFunction])(lpVtbl[53]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), &result);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(54)]
+ public System.Drawing.Size GetPixelSize()
+ {
+ System.Drawing.Size result;
+ return *((delegate* unmanaged[MemberFunction])(lpVtbl[54]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), &result);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(55)]
+ public uint GetMaximumBitmapSize()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[55]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(56)]
+ public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[56]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), renderTargetProperties);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(57)]
+ public HResult CreateBitmap(System.Drawing.Size size, void* sourceData, uint pitch, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[57]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), size, sourceData, pitch, bitmapProperties, bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(58)]
+ public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[58]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(59)]
+ public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[59]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(60)]
+ public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[60]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), filename, colorContext);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(61)]
+ public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[61]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(62)]
+ public HResult CreateBitmapFromDxgiSurface(Graphics.Dxgi.IDXGISurface* surface, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[62]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), surface, bitmapProperties, bitmap);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(63)]
+ public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[63]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), effectId, effect);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(64)]
+ public HResult CreateGradientStopCollection(Common.GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[64]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(65)]
+ public HResult CreateImageBrush(ID2D1Image* image, ImageBrushProperties* imageBrushProperties, BrushProperties* brushProperties, ID2D1ImageBrush** imageBrush)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[65]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image, imageBrushProperties, brushProperties, imageBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(66)]
+ public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties1* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush1** bitmapBrush)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[66]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(67)]
+ public HResult CreateCommandList(ID2D1CommandList** commandList)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[67]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), commandList);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(68)]
+ public Bool32 IsDxgiFormatSupported(Graphics.Dxgi.Common.Format format)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[68]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), format);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(69)]
+ public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[69]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), bufferPrecision);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(70)]
+ public HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[70]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image, localBounds);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(71)]
+ public HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[71]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image, worldBounds);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(72)]
+ public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[72]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(73)]
+ public void GetDevice(ID2D1Device** device)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[73]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), device);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(74)]
+ public void SetTarget(ID2D1Image* image)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[74]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(75)]
+ public void GetTarget(ID2D1Image** image)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[75]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(76)]
+ public void SetRenderingControls(RenderingControls* renderingControls)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[76]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), renderingControls);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(77)]
+ public void GetRenderingControls(RenderingControls* renderingControls)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[77]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), renderingControls);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(78)]
+ public void SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[78]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), primitiveBlend);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(79)]
+ public PrimitiveBlend GetPrimitiveBlend()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[79]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(80)]
+ public void SetUnitMode(UnitMode unitMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[80]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), unitMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(81)]
+ public UnitMode GetUnitMode()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[81]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(82)]
+ public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[82]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(83)]
+ public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[83]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(84)]
+ public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[84]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(85)]
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[85]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(86)]
+ public void PushLayer(LayerParameters1* layerParameters, ID2D1Layer* layer)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[86]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), layerParameters, layer);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(87)]
+ public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[87]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(88)]
+ public HResult GetEffectInvalidRectangleCount(ID2D1Effect* effect, uint* rectangleCount)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[88]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), effect, rectangleCount);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(89)]
+ public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[89]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(90)]
+ public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[90]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(91)]
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[91]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(92)]
+ public HResult CreateFilledGeometryRealization(ID2D1Geometry* geometry, float flatteningTolerance, ID2D1GeometryRealization** geometryRealization)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[92]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, geometryRealization);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(93)]
+ public HResult CreateStrokedGeometryRealization(ID2D1Geometry* geometry, float flatteningTolerance, float strokeWidth, ID2D1StrokeStyle* strokeStyle, ID2D1GeometryRealization** geometryRealization)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[93]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, strokeWidth, strokeStyle, geometryRealization);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(94)]
+ public void DrawGeometryRealization(ID2D1GeometryRealization* geometryRealization, ID2D1Brush* brush)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[94]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), geometryRealization, brush);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(95)]
+ public HResult CreateInk(InkPoint* startPoint, ID2D1Ink** ink)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[95]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), startPoint, ink);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(96)]
+ public HResult CreateInkStyle(InkStyleProperties* inkStyleProperties, ID2D1InkStyle** inkStyle)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[96]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), inkStyleProperties, inkStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(97)]
+ public HResult CreateGradientMesh(GradientMeshPatch* patches, uint patchesCount, ID2D1GradientMesh** gradientMesh)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[97]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), patches, patchesCount, gradientMesh);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(98)]
+ public HResult CreateImageSourceFromWic(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, ImageSourceLoadingOptions loadingOptions, Common.AlphaMode alphaMode, ID2D1ImageSourceFromWic** imageSource)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[98]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), wicBitmapSource, loadingOptions, alphaMode, imageSource);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(99)]
+ public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[99]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(100)]
+ public HResult CreateImageSourceFromDxgi(Graphics.Dxgi.IDXGISurface** surfaces, uint surfaceCount, Graphics.Dxgi.Common.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options, ID2D1ImageSource** imageSource)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[100]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), surfaces, surfaceCount, colorSpace, options, imageSource);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(101)]
+ public HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Win32.Numerics.RectF** pBounds)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[101]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), gradientMesh, pBounds);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(102)]
+ public void DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[102]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(103)]
+ public void DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[103]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), gradientMesh);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(104)]
+ public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[104]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(105)]
+ public HResult CreateTransformedImageSource(ID2D1ImageSource* imageSource, TransformedImageSourceProperties* properties, ID2D1TransformedImageSource** transformedImageSource)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[105]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), imageSource, properties, transformedImageSource);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(106)]
+ public HResult CreateSpriteBatch(ID2D1SpriteBatch** spriteBatch)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[106]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), spriteBatch);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(107)]
+ public void DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[107]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(108)]
+ public HResult CreateSvgGlyphStyle(ID2D1SvgGlyphStyle** svgGlyphStyle)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[108]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), svgGlyphStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(109)]
+ public void DrawText(char* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[109]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(110)]
+ public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[110]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(111)]
+ public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[111]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(112)]
+ public void DrawSvgGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[112]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(113)]
+ public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, Vector2 glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2* glyphTransform, ID2D1Image** glyphImage)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[113]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(114)]
+ public HResult GetSvgGlyphImage(Vector2 glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2* glyphTransform, ID2D1CommandList** glyphImage)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[114]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(115)]
+ public HResult CreateSvgDocument(Com.IStream* inputXmlStream, System.Drawing.SizeF viewportSize, ID2D1SvgDocument** svgDocument)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[115]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), inputXmlStream, viewportSize, svgDocument);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(116)]
+ public void DrawSvgDocument(ID2D1SvgDocument* svgDocument)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[116]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), svgDocument);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(117)]
+ public HResult CreateColorContextFromDxgiColorSpace(Graphics.Dxgi.Common.ColorSpaceType colorSpace, ID2D1ColorContext1** colorContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[117]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), colorSpace, colorContext);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(118)]
+ public HResult CreateColorContextFromSimpleColorProfile(SimpleColorProfile* simpleProfile, ID2D1ColorContext1** colorContext)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[118]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(119)]
+ public void BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[119]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(120)]
+ public Graphics.DirectWrite.PaintFeatureLevel GetPaintFeatureLevel()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[120]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(121)]
+ public void DrawPaintGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[121]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, colorPaletteIndex, measuringMode);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(122)]
+ public void DrawGlyphRunWithColorSupport(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[122]))((ID2D1DeviceContext7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, svgGlyphStyle, colorPaletteIndex, measuringMode, bitmapSnapOption);
+ }
+
+ public interface Interface : ID2D1DeviceContext6.Interface
+ {
+ [VtblIndex(120)]
+ Graphics.DirectWrite.PaintFeatureLevel GetPaintFeatureLevel();
+
+ [VtblIndex(121)]
+ void DrawPaintGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode);
+
+ [VtblIndex(122)]
+ void DrawGlyphRunWithColorSupport(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption);
+ }
+}
+
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Effect.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Effect.cs
index 0e245f4..e9a297c 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Effect.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Effect.cs
@@ -81,9 +81,9 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)]
- public HResult GetPropertyName(uint index, ushort* name, uint nameCount)
+ public HResult GetPropertyName(uint index, char** name, uint nameCount)
{
- return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Factory8.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Factory8.cs
new file mode 100644
index 0000000..a2b4b44
--- /dev/null
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Factory8.cs
@@ -0,0 +1,327 @@
+// ------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+// ------------------------------------------------------------------------------
+
+namespace Win32.Graphics.Direct2D;
+
+///
+/// ID2D1Factory8
+[Guid("677c9311-f36d-4b1f-ae86-86d1223ffd3a")]
+[NativeTypeName("struct ID2D1Factory8 : ID2D1Factory7")]
+[NativeInheritance("ID2D1Factory7")]
+public unsafe partial struct ID2D1Factory8 : ID2D1Factory8.Interface, INativeGuid
+{
+ public static ref readonly Guid IID_ID2D1Factory8
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ ReadOnlySpan data = new byte[] {
+ 0x11, 0x93, 0x7C, 0x67,
+ 0x6D, 0xF3,
+ 0x1F, 0x4B,
+ 0xAE,
+ 0x86,
+ 0x86,
+ 0xD1,
+ 0x22,
+ 0x3F,
+ 0xFD,
+ 0x3A
+ };
+
+ Debug.Assert(data.Length == Unsafe.SizeOf());
+ return ref Unsafe.As(ref MemoryMarshal.GetReference(data));
+ }
+ }
+
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory8));
+
+ public void** lpVtbl;
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(0)]
+ public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), riid, ppvObject);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(1)]
+ [return: NativeTypeName("ULONG")]
+ public uint AddRef()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ID2D1Factory8*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(2)]
+ [return: NativeTypeName("ULONG")]
+ public uint Release()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID2D1Factory8*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(3)]
+ public HResult ReloadSystemMetrics()
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID2D1Factory8*)Unsafe.AsPointer(ref this));
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(4)]
+ public void GetDesktopDpi(float* dpiX, float* dpiY)
+ {
+ ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dpiX, dpiY);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(5)]
+ public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(6)]
+ public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(7)]
+ public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(8)]
+ public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(9)]
+ public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(10)]
+ public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), pathGeometry);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(11)]
+ public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(12)]
+ public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(13)]
+ public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(14)]
+ public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(15)]
+ public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(16)]
+ public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(17)]
+ public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(18)]
+ public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(19)]
+ public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), pathGeometry);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(20)]
+ public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(21)]
+ public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), metafileStream, metafile);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(22)]
+ public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall] effectFactory)
+ {
+ return ((delegate* unmanaged[MemberFunction], int>)(lpVtbl[22]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(23)]
+ public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall] effectFactory)
+ {
+ return ((delegate* unmanaged[MemberFunction], int>)(lpVtbl[23]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(24)]
+ public HResult UnregisterEffect(Guid* classId)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), classId);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(25)]
+ public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(26)]
+ public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[26]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), effectId, properties);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(27)]
+ public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(28)]
+ public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(29)]
+ public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(30)]
+ public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
+ }
+
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [VtblIndex(31)]
+ public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device5** d2dDevice5)
+ {
+ return ((delegate* unmanaged[MemberFunction])(lpVtbl[31]))((ID2D1Factory8*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
+ }
+
+ ///