mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Improvements in Direct3D11 bindings and add helper structs + methods.
This commit is contained in:
@@ -228,6 +228,7 @@ public static class Program
|
||||
{ "D3D11_MAP_FLAG", "MapFlags" },
|
||||
{ "D3D11_FORMAT_SUPPORT", "FormatSupport" },
|
||||
{ "D3D11_FORMAT_SUPPORT2", "FormatSupport2" },
|
||||
{ "D3D11_DSV_FLAG", "DsvFlags" },
|
||||
};
|
||||
|
||||
private static readonly Dictionary<string, string> s_structFieldTypeRemap = new()
|
||||
@@ -258,6 +259,8 @@ public static class Program
|
||||
|
||||
{ "D3D11_FEATURE_DATA_FORMAT_SUPPORT::OutFormatSupport", "D3D11_FORMAT_SUPPORT" },
|
||||
{ "D3D11_FEATURE_DATA_FORMAT_SUPPORT2::OutFormatSupport2", "D3D11_FORMAT_SUPPORT2" },
|
||||
|
||||
{ "D3D11_DEPTH_STENCIL_VIEW_DESC::Flags", "D3D11_DSV_FLAG" },
|
||||
};
|
||||
|
||||
private static readonly HashSet<string> s_visitedEnums = new();
|
||||
|
||||
Reference in New Issue
Block a user