mirror of
https://github.com/AlexMacocian/MonoGame.ImGuiNet.git
synced 2026-07-15 14:39:30 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"dotnet-mgcb": {
|
||||
"version": "3.8.1.303",
|
||||
"commands": [
|
||||
"mgcb"
|
||||
]
|
||||
},
|
||||
"dotnet-mgcb-editor": {
|
||||
"version": "3.8.1.303",
|
||||
"commands": [
|
||||
"mgcb-editor"
|
||||
]
|
||||
},
|
||||
"dotnet-mgcb-editor-linux": {
|
||||
"version": "3.8.1.303",
|
||||
"commands": [
|
||||
"mgcb-editor-linux"
|
||||
]
|
||||
},
|
||||
"dotnet-mgcb-editor-windows": {
|
||||
"version": "3.8.1.303",
|
||||
"commands": [
|
||||
"mgcb-editor-windows"
|
||||
]
|
||||
},
|
||||
"dotnet-mgcb-editor-mac": {
|
||||
"version": "3.8.1.303",
|
||||
"commands": [
|
||||
"mgcb-editor-mac"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
@@ -0,0 +1,30 @@
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ImGuiNET;
|
||||
|
||||
namespace MonoGame.ImGuiNet
|
||||
{
|
||||
public static class DrawVertDeclaration
|
||||
{
|
||||
public static readonly VertexDeclaration Declaration;
|
||||
|
||||
public static readonly int Size;
|
||||
|
||||
static DrawVertDeclaration()
|
||||
{
|
||||
unsafe { Size = sizeof(ImDrawVert); }
|
||||
|
||||
Declaration = new VertexDeclaration(
|
||||
Size,
|
||||
|
||||
// Position
|
||||
new VertexElement(0, VertexElementFormat.Vector2, VertexElementUsage.Position, 0),
|
||||
|
||||
// UV
|
||||
new VertexElement(8, VertexElementFormat.Vector2, VertexElementUsage.TextureCoordinate, 0),
|
||||
|
||||
// Color
|
||||
new VertexElement(16, VertexElementFormat.Color, VertexElementUsage.Color, 0)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using ImGuiNET;
|
||||
|
||||
namespace MonoGame.ImGuiNet
|
||||
{
|
||||
/// <summary>
|
||||
/// ImGui renderer for use with XNA-likes (FNA & MonoGame)
|
||||
/// </summary>
|
||||
public class ImGuiRenderer
|
||||
{
|
||||
private Game _game;
|
||||
|
||||
// Graphics
|
||||
private GraphicsDevice _graphicsDevice;
|
||||
|
||||
private BasicEffect _effect;
|
||||
private RasterizerState _rasterizerState;
|
||||
|
||||
private byte[] _vertexData;
|
||||
private VertexBuffer _vertexBuffer;
|
||||
private int _vertexBufferSize;
|
||||
|
||||
private byte[] _indexData;
|
||||
private IndexBuffer _indexBuffer;
|
||||
private int _indexBufferSize;
|
||||
|
||||
// Textures
|
||||
private Dictionary<IntPtr, Texture2D> _loadedTextures;
|
||||
|
||||
private int _textureId;
|
||||
private IntPtr? _fontTextureId;
|
||||
|
||||
// Input
|
||||
private int _scrollWheelValue;
|
||||
private int _horizontalScrollWheelValue;
|
||||
private readonly float WHEEL_DELTA = 120;
|
||||
private Keys[] _allKeys = Enum.GetValues<Keys>();
|
||||
|
||||
public ImGuiRenderer(Game game)
|
||||
{
|
||||
var context = ImGui.CreateContext();
|
||||
ImGui.SetCurrentContext(context);
|
||||
|
||||
_game = game ?? throw new ArgumentNullException(nameof(game));
|
||||
_graphicsDevice = game.GraphicsDevice;
|
||||
|
||||
_loadedTextures = new Dictionary<IntPtr, Texture2D>();
|
||||
|
||||
_rasterizerState = new RasterizerState()
|
||||
{
|
||||
CullMode = CullMode.None,
|
||||
DepthBias = 0,
|
||||
FillMode = FillMode.Solid,
|
||||
MultiSampleAntiAlias = false,
|
||||
ScissorTestEnable = true,
|
||||
SlopeScaleDepthBias = 0
|
||||
};
|
||||
|
||||
SetupInput();
|
||||
}
|
||||
|
||||
#region ImGuiRenderer
|
||||
|
||||
/// <summary>
|
||||
/// Creates a texture and loads the font data from ImGui. Should be called when the <see cref="GraphicsDevice" /> is initialized but before any rendering is done
|
||||
/// </summary>
|
||||
public virtual unsafe void RebuildFontAtlas()
|
||||
{
|
||||
// Get font texture from ImGui
|
||||
var io = ImGui.GetIO();
|
||||
io.Fonts.GetTexDataAsRGBA32(out byte* pixelData, out int width, out int height, out int bytesPerPixel);
|
||||
|
||||
// Copy the data to a managed array
|
||||
var pixels = new byte[width * height * bytesPerPixel];
|
||||
unsafe { Marshal.Copy(new IntPtr(pixelData), pixels, 0, pixels.Length); }
|
||||
|
||||
// Create and register the texture as an XNA texture
|
||||
var tex2d = new Texture2D(_graphicsDevice, width, height, false, SurfaceFormat.Color);
|
||||
tex2d.SetData(pixels);
|
||||
|
||||
// Should a texture already have been build previously, unbind it first so it can be deallocated
|
||||
if (_fontTextureId.HasValue) UnbindTexture(_fontTextureId.Value);
|
||||
|
||||
// Bind the new texture to an ImGui-friendly id
|
||||
_fontTextureId = BindTexture(tex2d);
|
||||
|
||||
// Let ImGui know where to find the texture
|
||||
io.Fonts.SetTexID(_fontTextureId.Value);
|
||||
io.Fonts.ClearTexData(); // Clears CPU side texture data
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a pointer to a texture, which can be passed through ImGui calls such as <see cref="ImGui.Image" />. That pointer is then used by ImGui to let us know what texture to draw
|
||||
/// </summary>
|
||||
public virtual IntPtr BindTexture(Texture2D texture)
|
||||
{
|
||||
var id = new IntPtr(_textureId++);
|
||||
|
||||
_loadedTextures.Add(id, texture);
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes a previously created texture pointer, releasing its reference and allowing it to be deallocated
|
||||
/// </summary>
|
||||
public virtual void UnbindTexture(IntPtr textureId)
|
||||
{
|
||||
_loadedTextures.Remove(textureId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets up ImGui for a new frame, should be called at frame start
|
||||
/// </summary>
|
||||
public virtual void BeforeLayout(GameTime gameTime)
|
||||
{
|
||||
ImGui.GetIO().DeltaTime = (float)gameTime.ElapsedGameTime.TotalSeconds;
|
||||
|
||||
UpdateInput();
|
||||
|
||||
ImGui.NewFrame();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asks ImGui for the generated geometry data and sends it to the graphics pipeline, should be called after the UI is drawn using ImGui.** calls
|
||||
/// </summary>
|
||||
public virtual void AfterLayout()
|
||||
{
|
||||
ImGui.Render();
|
||||
|
||||
unsafe { RenderDrawData(ImGui.GetDrawData()); }
|
||||
}
|
||||
|
||||
#endregion ImGuiRenderer
|
||||
|
||||
#region Setup & Update
|
||||
|
||||
/// <summary>
|
||||
/// Setup key input event handler.
|
||||
/// </summary>
|
||||
protected virtual void SetupInput()
|
||||
{
|
||||
var io = ImGui.GetIO();
|
||||
|
||||
// MonoGame-specific //////////////////////
|
||||
_game.Window.TextInput += (s, a) =>
|
||||
{
|
||||
if (a.Character == '\t') return;
|
||||
io.AddInputCharacter(a.Character);
|
||||
};
|
||||
|
||||
///////////////////////////////////////////
|
||||
|
||||
// FNA-specific ///////////////////////////
|
||||
//TextInputEXT.TextInput += c =>
|
||||
//{
|
||||
// if (c == '\t') return;
|
||||
|
||||
// ImGui.GetIO().AddInputCharacter(c);
|
||||
//};
|
||||
///////////////////////////////////////////
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the <see cref="Effect" /> to the current matrices and texture
|
||||
/// </summary>
|
||||
protected virtual Effect UpdateEffect(Texture2D texture)
|
||||
{
|
||||
_effect = _effect ?? new BasicEffect(_graphicsDevice);
|
||||
|
||||
var io = ImGui.GetIO();
|
||||
|
||||
_effect.World = Matrix.Identity;
|
||||
_effect.View = Matrix.Identity;
|
||||
_effect.Projection = Matrix.CreateOrthographicOffCenter(0f, io.DisplaySize.X, io.DisplaySize.Y, 0f, -1f, 1f);
|
||||
_effect.TextureEnabled = true;
|
||||
_effect.Texture = texture;
|
||||
_effect.VertexColorEnabled = true;
|
||||
|
||||
return _effect;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sends XNA input state to ImGui
|
||||
/// </summary>
|
||||
protected virtual void UpdateInput()
|
||||
{
|
||||
if (!_game.IsActive) return;
|
||||
|
||||
var io = ImGui.GetIO();
|
||||
|
||||
var mouse = Mouse.GetState();
|
||||
var keyboard = Keyboard.GetState();
|
||||
io.AddMousePosEvent(mouse.X, mouse.Y);
|
||||
io.AddMouseButtonEvent(0, mouse.LeftButton == ButtonState.Pressed);
|
||||
io.AddMouseButtonEvent(1, mouse.RightButton == ButtonState.Pressed);
|
||||
io.AddMouseButtonEvent(2, mouse.MiddleButton == ButtonState.Pressed);
|
||||
io.AddMouseButtonEvent(3, mouse.XButton1 == ButtonState.Pressed);
|
||||
io.AddMouseButtonEvent(4, mouse.XButton2 == ButtonState.Pressed);
|
||||
|
||||
io.AddMouseWheelEvent(
|
||||
(mouse.HorizontalScrollWheelValue - _horizontalScrollWheelValue) / WHEEL_DELTA,
|
||||
(mouse.ScrollWheelValue - _scrollWheelValue) / WHEEL_DELTA);
|
||||
_scrollWheelValue = mouse.ScrollWheelValue;
|
||||
_horizontalScrollWheelValue = mouse.HorizontalScrollWheelValue;
|
||||
|
||||
foreach (var key in _allKeys)
|
||||
{
|
||||
if (TryMapKeys(key, out ImGuiKey imguikey))
|
||||
{
|
||||
io.AddKeyEvent(imguikey, keyboard.IsKeyDown(key));
|
||||
}
|
||||
}
|
||||
|
||||
io.DisplaySize = new System.Numerics.Vector2(_graphicsDevice.PresentationParameters.BackBufferWidth, _graphicsDevice.PresentationParameters.BackBufferHeight);
|
||||
io.DisplayFramebufferScale = new System.Numerics.Vector2(1f, 1f);
|
||||
}
|
||||
|
||||
private bool TryMapKeys(Keys key, out ImGuiKey imguikey)
|
||||
{
|
||||
//Special case not handed in the switch...
|
||||
//If the actual key we put in is "None", return none and true.
|
||||
//otherwise, return none and false.
|
||||
if (key == Keys.None)
|
||||
{
|
||||
imguikey = ImGuiKey.None;
|
||||
return true;
|
||||
}
|
||||
|
||||
imguikey = key switch
|
||||
{
|
||||
Keys.Back => ImGuiKey.Backspace,
|
||||
Keys.Tab => ImGuiKey.Tab,
|
||||
Keys.Enter => ImGuiKey.Enter,
|
||||
Keys.CapsLock => ImGuiKey.CapsLock,
|
||||
Keys.Escape => ImGuiKey.Escape,
|
||||
Keys.Space => ImGuiKey.Space,
|
||||
Keys.PageUp => ImGuiKey.PageUp,
|
||||
Keys.PageDown => ImGuiKey.PageDown,
|
||||
Keys.End => ImGuiKey.End,
|
||||
Keys.Home => ImGuiKey.Home,
|
||||
Keys.Left => ImGuiKey.LeftArrow,
|
||||
Keys.Right => ImGuiKey.RightArrow,
|
||||
Keys.Up => ImGuiKey.UpArrow,
|
||||
Keys.Down => ImGuiKey.DownArrow,
|
||||
Keys.PrintScreen => ImGuiKey.PrintScreen,
|
||||
Keys.Insert => ImGuiKey.Insert,
|
||||
Keys.Delete => ImGuiKey.Delete,
|
||||
>= Keys.D0 and <= Keys.D9 => ImGuiKey._0 + (key - Keys.D0),
|
||||
>= Keys.A and <= Keys.Z => ImGuiKey.A + (key - Keys.A),
|
||||
>= Keys.NumPad0 and <= Keys.NumPad9 => ImGuiKey.Keypad0 + (key - Keys.NumPad0),
|
||||
Keys.Multiply => ImGuiKey.KeypadMultiply,
|
||||
Keys.Add => ImGuiKey.KeypadAdd,
|
||||
Keys.Subtract => ImGuiKey.KeypadSubtract,
|
||||
Keys.Decimal => ImGuiKey.KeypadDecimal,
|
||||
Keys.Divide => ImGuiKey.KeypadDivide,
|
||||
>= Keys.F1 and <= Keys.F12 => ImGuiKey.F1 + (key - Keys.F1),
|
||||
Keys.NumLock => ImGuiKey.NumLock,
|
||||
Keys.Scroll => ImGuiKey.ScrollLock,
|
||||
Keys.LeftShift or Keys.RightShift => ImGuiKey.ModShift,
|
||||
Keys.LeftControl or Keys.RightControl => ImGuiKey.ModCtrl,
|
||||
Keys.LeftAlt or Keys.RightAlt => ImGuiKey.ModAlt,
|
||||
Keys.OemSemicolon => ImGuiKey.Semicolon,
|
||||
Keys.OemPlus => ImGuiKey.Equal,
|
||||
Keys.OemComma => ImGuiKey.Comma,
|
||||
Keys.OemMinus => ImGuiKey.Minus,
|
||||
Keys.OemPeriod => ImGuiKey.Period,
|
||||
Keys.OemQuestion => ImGuiKey.Slash,
|
||||
Keys.OemTilde => ImGuiKey.GraveAccent,
|
||||
Keys.OemOpenBrackets => ImGuiKey.LeftBracket,
|
||||
Keys.OemCloseBrackets => ImGuiKey.RightBracket,
|
||||
Keys.OemPipe => ImGuiKey.Backslash,
|
||||
Keys.OemQuotes => ImGuiKey.Apostrophe,
|
||||
_ => ImGuiKey.None,
|
||||
};
|
||||
|
||||
return imguikey != ImGuiKey.None;
|
||||
}
|
||||
|
||||
#endregion Setup & Update
|
||||
|
||||
#region Internals
|
||||
|
||||
/// <summary>
|
||||
/// Gets the geometry as set up by ImGui and sends it to the graphics device
|
||||
/// </summary>
|
||||
private void RenderDrawData(ImDrawDataPtr drawData)
|
||||
{
|
||||
// Setup render state: alpha-blending enabled, no face culling, no depth testing, scissor enabled, vertex/texcoord/color pointers
|
||||
var lastViewport = _graphicsDevice.Viewport;
|
||||
var lastScissorBox = _graphicsDevice.ScissorRectangle;
|
||||
|
||||
_graphicsDevice.BlendFactor = Color.White;
|
||||
_graphicsDevice.BlendState = BlendState.NonPremultiplied;
|
||||
_graphicsDevice.RasterizerState = _rasterizerState;
|
||||
_graphicsDevice.DepthStencilState = DepthStencilState.DepthRead;
|
||||
|
||||
// Handle cases of screen coordinates != from framebuffer coordinates (e.g. retina displays)
|
||||
drawData.ScaleClipRects(ImGui.GetIO().DisplayFramebufferScale);
|
||||
|
||||
// Setup projection
|
||||
_graphicsDevice.Viewport = new Viewport(0, 0, _graphicsDevice.PresentationParameters.BackBufferWidth, _graphicsDevice.PresentationParameters.BackBufferHeight);
|
||||
|
||||
UpdateBuffers(drawData);
|
||||
|
||||
RenderCommandLists(drawData);
|
||||
|
||||
// Restore modified state
|
||||
_graphicsDevice.Viewport = lastViewport;
|
||||
_graphicsDevice.ScissorRectangle = lastScissorBox;
|
||||
}
|
||||
|
||||
private unsafe void UpdateBuffers(ImDrawDataPtr drawData)
|
||||
{
|
||||
if (drawData.TotalVtxCount == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Expand buffers if we need more room
|
||||
if (drawData.TotalVtxCount > _vertexBufferSize)
|
||||
{
|
||||
_vertexBuffer?.Dispose();
|
||||
|
||||
_vertexBufferSize = (int)(drawData.TotalVtxCount * 1.5f);
|
||||
_vertexBuffer = new VertexBuffer(_graphicsDevice, DrawVertDeclaration.Declaration, _vertexBufferSize, BufferUsage.None);
|
||||
_vertexData = new byte[_vertexBufferSize * DrawVertDeclaration.Size];
|
||||
}
|
||||
|
||||
if (drawData.TotalIdxCount > _indexBufferSize)
|
||||
{
|
||||
_indexBuffer?.Dispose();
|
||||
|
||||
_indexBufferSize = (int)(drawData.TotalIdxCount * 1.5f);
|
||||
_indexBuffer = new IndexBuffer(_graphicsDevice, IndexElementSize.SixteenBits, _indexBufferSize, BufferUsage.None);
|
||||
_indexData = new byte[_indexBufferSize * sizeof(ushort)];
|
||||
}
|
||||
|
||||
// Copy ImGui's vertices and indices to a set of managed byte arrays
|
||||
int vtxOffset = 0;
|
||||
int idxOffset = 0;
|
||||
|
||||
for (int n = 0; n < drawData.CmdListsCount; n++)
|
||||
{
|
||||
ImDrawListPtr cmdList = drawData.CmdListsRange[n];
|
||||
|
||||
fixed (void* vtxDstPtr = &_vertexData[vtxOffset * DrawVertDeclaration.Size])
|
||||
fixed (void* idxDstPtr = &_indexData[idxOffset * sizeof(ushort)])
|
||||
{
|
||||
Buffer.MemoryCopy((void*)cmdList.VtxBuffer.Data, vtxDstPtr, _vertexData.Length, cmdList.VtxBuffer.Size * DrawVertDeclaration.Size);
|
||||
Buffer.MemoryCopy((void*)cmdList.IdxBuffer.Data, idxDstPtr, _indexData.Length, cmdList.IdxBuffer.Size * sizeof(ushort));
|
||||
}
|
||||
|
||||
vtxOffset += cmdList.VtxBuffer.Size;
|
||||
idxOffset += cmdList.IdxBuffer.Size;
|
||||
}
|
||||
|
||||
// Copy the managed byte arrays to the gpu vertex- and index buffers
|
||||
_vertexBuffer.SetData(_vertexData, 0, drawData.TotalVtxCount * DrawVertDeclaration.Size);
|
||||
_indexBuffer.SetData(_indexData, 0, drawData.TotalIdxCount * sizeof(ushort));
|
||||
}
|
||||
|
||||
private unsafe void RenderCommandLists(ImDrawDataPtr drawData)
|
||||
{
|
||||
_graphicsDevice.SetVertexBuffer(_vertexBuffer);
|
||||
_graphicsDevice.Indices = _indexBuffer;
|
||||
|
||||
int vtxOffset = 0;
|
||||
int idxOffset = 0;
|
||||
|
||||
for (int n = 0; n < drawData.CmdListsCount; n++)
|
||||
{
|
||||
ImDrawListPtr cmdList = drawData.CmdListsRange[n];
|
||||
|
||||
for (int cmdi = 0; cmdi < cmdList.CmdBuffer.Size; cmdi++)
|
||||
{
|
||||
ImDrawCmdPtr drawCmd = cmdList.CmdBuffer[cmdi];
|
||||
|
||||
if (drawCmd.ElemCount == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!_loadedTextures.ContainsKey(drawCmd.TextureId))
|
||||
{
|
||||
throw new InvalidOperationException($"Could not find a texture with id '{drawCmd.TextureId}', please check your bindings");
|
||||
}
|
||||
|
||||
_graphicsDevice.ScissorRectangle = new Rectangle(
|
||||
(int)drawCmd.ClipRect.X,
|
||||
(int)drawCmd.ClipRect.Y,
|
||||
(int)(drawCmd.ClipRect.Z - drawCmd.ClipRect.X),
|
||||
(int)(drawCmd.ClipRect.W - drawCmd.ClipRect.Y)
|
||||
);
|
||||
|
||||
var effect = UpdateEffect(_loadedTextures[drawCmd.TextureId]);
|
||||
|
||||
foreach (var pass in effect.CurrentTechnique.Passes)
|
||||
{
|
||||
pass.Apply();
|
||||
|
||||
#pragma warning disable CS0618 // // FNA does not expose an alternative method.
|
||||
_graphicsDevice.DrawIndexedPrimitives(
|
||||
primitiveType: PrimitiveType.TriangleList,
|
||||
baseVertex: (int)drawCmd.VtxOffset + vtxOffset,
|
||||
minVertexIndex: 0,
|
||||
numVertices: cmdList.VtxBuffer.Size,
|
||||
startIndex: (int)drawCmd.IdxOffset + idxOffset,
|
||||
primitiveCount: (int)drawCmd.ElemCount / 3
|
||||
);
|
||||
#pragma warning restore CS0618
|
||||
}
|
||||
}
|
||||
|
||||
vtxOffset += cmdList.VtxBuffer.Size;
|
||||
idxOffset += cmdList.IdxBuffer.Size;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Internals
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RollForward>Major</RollForward>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
<TieredCompilation>false</TieredCompilation>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<ApplicationIcon>Icon.ico</ApplicationIcon>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="Icon.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ImGui.NET" Version="1.89.7.1" />
|
||||
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.1.303" />
|
||||
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.1.303" />
|
||||
</ItemGroup>
|
||||
<Target Name="RestoreDotnetTools" BeforeTargets="Restore">
|
||||
<Message Text="Restoring dotnet tools" Importance="High" />
|
||||
<Exec Command="dotnet tool restore" />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.6.33717.318
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Monogame.ImGuiNet", "Monogame.ImGuiNet.csproj", "{ADC390EF-EA59-4013-A634-80F853CB00A3}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{ADC390EF-EA59-4013-A634-80F853CB00A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{ADC390EF-EA59-4013-A634-80F853CB00A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{ADC390EF-EA59-4013-A634-80F853CB00A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{ADC390EF-EA59-4013-A634-80F853CB00A3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {04475A17-846B-466C-9D3D-A3AD35D40DA3}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -48,4 +48,4 @@ It'll be recommended to visit the Wiki page! It will provide general information
|
||||
|
||||
# Notable Mentions
|
||||
|
||||
[Dovker](https://github.com/dovker) - For the original [Monogame.ImGui](https://github.com/dovker/Monogame.ImGui)
|
||||
[Dovker](https://github.com/dovker) - For the original [Monogame.ImGui](https://github.com/dovker/Monogame.ImGui)
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="Monogame.ImGuiNet"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- A list of the Windows versions that this application has been tested on and is
|
||||
is designed to work with. Uncomment the appropriate elements and Windows will
|
||||
automatically selected the most compatible environment. -->
|
||||
|
||||
<!-- Windows Vista -->
|
||||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />
|
||||
|
||||
<!-- Windows 7 -->
|
||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
|
||||
|
||||
<!-- Windows 8 -->
|
||||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
|
||||
|
||||
<!-- Windows 8.1 -->
|
||||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />
|
||||
|
||||
<!-- Windows 10 -->
|
||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
||||
|
||||
</application>
|
||||
</compatibility>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">permonitorv2,permonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
|
||||
</assembly>
|
||||
@@ -0,0 +1,164 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v6.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v6.0": {
|
||||
"Monogame.ImGuiNet/1.0.0": {
|
||||
"dependencies": {
|
||||
"ImGui.NET": "1.89.7.1",
|
||||
"MonoGame.Content.Builder.Task": "3.8.1.303",
|
||||
"MonoGame.Framework.DesktopGL": "3.8.1.303"
|
||||
},
|
||||
"runtime": {
|
||||
"Monogame.ImGuiNet.dll": {}
|
||||
}
|
||||
},
|
||||
"ImGui.NET/1.89.7.1": {
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.4.0",
|
||||
"System.Numerics.Vectors": "4.4.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.4.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/ImGui.NET.dll": {
|
||||
"assemblyVersion": "1.89.7.1",
|
||||
"fileVersion": "1.89.7.1"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libcimgui.so": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx/native/libcimgui.dylib": {
|
||||
"rid": "osx",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-arm64/native/cimgui.dll": {
|
||||
"rid": "win-arm64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x64/native/cimgui.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x86/native/cimgui.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"MonoGame.Content.Builder.Task/3.8.1.303": {},
|
||||
"MonoGame.Framework.DesktopGL/3.8.1.303": {
|
||||
"runtime": {
|
||||
"lib/net6.0/MonoGame.Framework.dll": {
|
||||
"assemblyVersion": "3.8.1.303",
|
||||
"fileVersion": "3.8.1.303"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libSDL2-2.0.so.0": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/linux-x64/native/libopenal.so.1": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx/native/libSDL2.dylib": {
|
||||
"rid": "osx",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx/native/libopenal.1.dylib": {
|
||||
"rid": "osx",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x64/native/SDL2.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "2.0.20.0"
|
||||
},
|
||||
"runtimes/win-x64/native/soft_oal.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x86/native/SDL2.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "native",
|
||||
"fileVersion": "2.0.20.0"
|
||||
},
|
||||
"runtimes/win-x86/native/soft_oal.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Buffers/4.4.0": {},
|
||||
"System.Numerics.Vectors/4.4.0": {},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Monogame.ImGuiNet/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"ImGui.NET/1.89.7.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-e7hAn3Jq4uoiAeQMmxAu9jkdSJnGR74qO1HNVF7wwIq7g6H9tBIDWke72sHbwGOXpZtL1/S678dR5j7VbDzt9A==",
|
||||
"path": "imgui.net/1.89.7.1",
|
||||
"hashPath": "imgui.net.1.89.7.1.nupkg.sha512"
|
||||
},
|
||||
"MonoGame.Content.Builder.Task/3.8.1.303": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-9Ilzzje62LhWElbPNEl7vh7XsRSbze+lvCJdZtTZUGu48FRgvYN6THURwIB9PN98EI33/Wnf6iuShNUtD7hL4Q==",
|
||||
"path": "monogame.content.builder.task/3.8.1.303",
|
||||
"hashPath": "monogame.content.builder.task.3.8.1.303.nupkg.sha512"
|
||||
},
|
||||
"MonoGame.Framework.DesktopGL/3.8.1.303": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-eGYhqn0n1olk8MNYeE9EuBmoNNECN1T18rPMaQpkzsEQ0H3nVyFPXC+uCo78v5pi5juQpJ3PSFnSkjzZJ1U58A==",
|
||||
"path": "monogame.framework.desktopgl/3.8.1.303",
|
||||
"hashPath": "monogame.framework.desktopgl.3.8.1.303.nupkg.sha512"
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==",
|
||||
"path": "system.buffers/4.4.0",
|
||||
"hashPath": "system.buffers.4.4.0.nupkg.sha512"
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
|
||||
"path": "system.numerics.vectors/4.4.0",
|
||||
"hashPath": "system.numerics.vectors.4.4.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.4.0",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj",
|
||||
"projectName": "Monogame.ImGuiNet",
|
||||
"projectPath": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj",
|
||||
"packagesPath": "C:\\Users\\Mezo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\Godot\\mono\\GodotNuGetFallbackFolder",
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\NuGet\\config\\Godot.Offline.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"dependencies": {
|
||||
"ImGui.NET": {
|
||||
"target": "Package",
|
||||
"version": "[1.89.7.1, )"
|
||||
},
|
||||
"MonoGame.Content.Builder.Task": {
|
||||
"target": "Package",
|
||||
"version": "[3.8.1.303, )"
|
||||
},
|
||||
"MonoGame.Framework.DesktopGL": {
|
||||
"target": "Package",
|
||||
"version": "[3.8.1.303, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.18, 6.0.18]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.18, 6.0.18]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.WindowsDesktop.App.Ref",
|
||||
"version": "[6.0.18, 6.0.18]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Mezo\.nuget\packages\;C:\Users\Mezo\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Mezo\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Users\Mezo\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)monogame.content.builder.task\3.8.1.303\build\MonoGame.Content.Builder.Task.props" Condition="Exists('$(NuGetPackageRoot)monogame.content.builder.task\3.8.1.303\build\MonoGame.Content.Builder.Task.props')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)monogame.framework.desktopgl\3.8.1.303\build\MonoGame.Framework.DesktopGL.targets" Condition="Exists('$(NuGetPackageRoot)monogame.framework.desktopgl\3.8.1.303\build\MonoGame.Framework.DesktopGL.targets')" />
|
||||
<Import Project="$(NuGetPackageRoot)monogame.content.builder.task\3.8.1.303\build\MonoGame.Content.Builder.Task.targets" Condition="Exists('$(NuGetPackageRoot)monogame.content.builder.task\3.8.1.303\build\MonoGame.Content.Builder.Task.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
||||
@@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Monogame.ImGuiNet")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Monogame.ImGuiNet")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Monogame.ImGuiNet")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
f277e2d154b3b577274e4e125250389ee0511037
|
||||
@@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Monogame.ImGuiNet
|
||||
build_property.ProjectDir = C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
a4e16421c0c210baef8896a40e091f20033fdfd6
|
||||
@@ -0,0 +1,12 @@
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.csproj.AssemblyReference.cache
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.AssemblyInfoInputs.cache
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.AssemblyInfo.cs
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\bin\Release\net6.0\Monogame.ImGuiNet.deps.json
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\bin\Release\net6.0\Monogame.ImGuiNet.dll
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\bin\Release\net6.0\Monogame.ImGuiNet.pdb
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.dll
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\refint\Monogame.ImGuiNet.dll
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\Monogame.ImGuiNet.pdb
|
||||
C:\Users\Mezo\Documents\GitHub\Monogame.ImGuiNet\obj\Release\net6.0\ref\Monogame.ImGuiNet.dll
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,383 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net6.0": {
|
||||
"ImGui.NET/1.89.7.1": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.4.0",
|
||||
"System.Numerics.Vectors": "4.4.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.4.0"
|
||||
},
|
||||
"compile": {
|
||||
"lib/net6.0/ImGui.NET.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/ImGui.NET.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libcimgui.so": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-x64"
|
||||
},
|
||||
"runtimes/osx/native/libcimgui.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx"
|
||||
},
|
||||
"runtimes/win-arm64/native/cimgui.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-arm64"
|
||||
},
|
||||
"runtimes/win-x64/native/cimgui.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x64"
|
||||
},
|
||||
"runtimes/win-x86/native/cimgui.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x86"
|
||||
}
|
||||
}
|
||||
},
|
||||
"MonoGame.Content.Builder.Task/3.8.1.303": {
|
||||
"type": "package",
|
||||
"build": {
|
||||
"build/MonoGame.Content.Builder.Task.props": {},
|
||||
"build/MonoGame.Content.Builder.Task.targets": {}
|
||||
}
|
||||
},
|
||||
"MonoGame.Framework.DesktopGL/3.8.1.303": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/net6.0/MonoGame.Framework.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/MonoGame.Framework.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoGame.Framework.DesktopGL.targets": {}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libSDL2-2.0.so.0": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-x64"
|
||||
},
|
||||
"runtimes/linux-x64/native/libopenal.so.1": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-x64"
|
||||
},
|
||||
"runtimes/osx/native/libSDL2.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx"
|
||||
},
|
||||
"runtimes/osx/native/libopenal.1.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx"
|
||||
},
|
||||
"runtimes/win-x64/native/SDL2.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x64"
|
||||
},
|
||||
"runtimes/win-x64/native/soft_oal.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x64"
|
||||
},
|
||||
"runtimes/win-x86/native/SDL2.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x86"
|
||||
},
|
||||
"runtimes/win-x86/native/soft_oal.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x86"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netcoreapp2.0/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp2.0/_._": {}
|
||||
}
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netcoreapp2.0/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp2.0/_._": {}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"ImGui.NET/1.89.7.1": {
|
||||
"sha512": "e7hAn3Jq4uoiAeQMmxAu9jkdSJnGR74qO1HNVF7wwIq7g6H9tBIDWke72sHbwGOXpZtL1/S678dR5j7VbDzt9A==",
|
||||
"type": "package",
|
||||
"path": "imgui.net/1.89.7.1",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"build/net40/ImGui.NET.targets",
|
||||
"imgui.net.1.89.7.1.nupkg.sha512",
|
||||
"imgui.net.nuspec",
|
||||
"lib/net6.0/ImGui.NET.dll",
|
||||
"lib/net6.0/ImGui.NET.xml",
|
||||
"lib/netstandard2.0/ImGui.NET.dll",
|
||||
"lib/netstandard2.0/ImGui.NET.xml",
|
||||
"runtimes/linux-x64/native/libcimgui.so",
|
||||
"runtimes/osx/native/libcimgui.dylib",
|
||||
"runtimes/win-arm64/native/cimgui.dll",
|
||||
"runtimes/win-x64/native/cimgui.dll",
|
||||
"runtimes/win-x86/native/cimgui.dll"
|
||||
]
|
||||
},
|
||||
"MonoGame.Content.Builder.Task/3.8.1.303": {
|
||||
"sha512": "9Ilzzje62LhWElbPNEl7vh7XsRSbze+lvCJdZtTZUGu48FRgvYN6THURwIB9PN98EI33/Wnf6iuShNUtD7hL4Q==",
|
||||
"type": "package",
|
||||
"path": "monogame.content.builder.task/3.8.1.303",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"Icon.png",
|
||||
"build/MonoGame.Content.Builder.Task.props",
|
||||
"build/MonoGame.Content.Builder.Task.targets",
|
||||
"monogame.content.builder.task.3.8.1.303.nupkg.sha512",
|
||||
"monogame.content.builder.task.nuspec"
|
||||
]
|
||||
},
|
||||
"MonoGame.Framework.DesktopGL/3.8.1.303": {
|
||||
"sha512": "eGYhqn0n1olk8MNYeE9EuBmoNNECN1T18rPMaQpkzsEQ0H3nVyFPXC+uCo78v5pi5juQpJ3PSFnSkjzZJ1U58A==",
|
||||
"type": "package",
|
||||
"path": "monogame.framework.desktopgl/3.8.1.303",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"Icon.png",
|
||||
"build/MonoGame.Framework.DesktopGL.targets",
|
||||
"lib/net6.0/MonoGame.Framework.dll",
|
||||
"monogame.framework.desktopgl.3.8.1.303.nupkg.sha512",
|
||||
"monogame.framework.desktopgl.nuspec",
|
||||
"runtimes/linux-x64/native/libSDL2-2.0.so.0",
|
||||
"runtimes/linux-x64/native/libopenal.so.1",
|
||||
"runtimes/osx/native/libSDL2.dylib",
|
||||
"runtimes/osx/native/libopenal.1.dylib",
|
||||
"runtimes/win-x64/native/SDL2.dll",
|
||||
"runtimes/win-x64/native/soft_oal.dll",
|
||||
"runtimes/win-x86/native/SDL2.dll",
|
||||
"runtimes/win-x86/native/soft_oal.dll"
|
||||
]
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"sha512": "AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==",
|
||||
"type": "package",
|
||||
"path": "system.buffers/4.4.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netcoreapp2.0/_._",
|
||||
"lib/netstandard1.1/System.Buffers.dll",
|
||||
"lib/netstandard1.1/System.Buffers.xml",
|
||||
"lib/netstandard2.0/System.Buffers.dll",
|
||||
"lib/netstandard2.0/System.Buffers.xml",
|
||||
"ref/netcoreapp2.0/_._",
|
||||
"ref/netstandard1.1/System.Buffers.dll",
|
||||
"ref/netstandard1.1/System.Buffers.xml",
|
||||
"ref/netstandard2.0/System.Buffers.dll",
|
||||
"ref/netstandard2.0/System.Buffers.xml",
|
||||
"system.buffers.4.4.0.nupkg.sha512",
|
||||
"system.buffers.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"sha512": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
|
||||
"type": "package",
|
||||
"path": "system.numerics.vectors/4.4.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/MonoAndroid10/_._",
|
||||
"lib/MonoTouch10/_._",
|
||||
"lib/net46/System.Numerics.Vectors.dll",
|
||||
"lib/net46/System.Numerics.Vectors.xml",
|
||||
"lib/netcoreapp2.0/_._",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml",
|
||||
"lib/xamarinios10/_._",
|
||||
"lib/xamarinmac20/_._",
|
||||
"lib/xamarintvos10/_._",
|
||||
"lib/xamarinwatchos10/_._",
|
||||
"ref/MonoAndroid10/_._",
|
||||
"ref/MonoTouch10/_._",
|
||||
"ref/net46/System.Numerics.Vectors.dll",
|
||||
"ref/net46/System.Numerics.Vectors.xml",
|
||||
"ref/netcoreapp2.0/_._",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"ref/xamarinios10/_._",
|
||||
"ref/xamarinmac20/_._",
|
||||
"ref/xamarintvos10/_._",
|
||||
"ref/xamarinwatchos10/_._",
|
||||
"system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||
"system.numerics.vectors.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
|
||||
"sha512": "9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==",
|
||||
"type": "package",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.4.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512",
|
||||
"system.runtime.compilerservices.unsafe.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net6.0": [
|
||||
"ImGui.NET >= 1.89.7.1",
|
||||
"MonoGame.Content.Builder.Task >= 3.8.1.303",
|
||||
"MonoGame.Framework.DesktopGL >= 3.8.1.303"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\": {},
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\Godot\\mono\\GodotNuGetFallbackFolder": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj",
|
||||
"projectName": "Monogame.ImGuiNet",
|
||||
"projectPath": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj",
|
||||
"packagesPath": "C:\\Users\\Mezo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\Godot\\mono\\GodotNuGetFallbackFolder",
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Users\\Mezo\\AppData\\Roaming\\NuGet\\config\\Godot.Offline.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"dependencies": {
|
||||
"ImGui.NET": {
|
||||
"target": "Package",
|
||||
"version": "[1.89.7.1, )"
|
||||
},
|
||||
"MonoGame.Content.Builder.Task": {
|
||||
"target": "Package",
|
||||
"version": "[3.8.1.303, )"
|
||||
},
|
||||
"MonoGame.Framework.DesktopGL": {
|
||||
"target": "Package",
|
||||
"version": "[3.8.1.303, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.18, 6.0.18]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.18, 6.0.18]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.WindowsDesktop.App.Ref",
|
||||
"version": "[6.0.18, 6.0.18]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "thmKDvS4yoLgDNL8dlowumJ4BZK9BTPbIFWb9ijMzoO5xrsj5jUc/PLm3kUeieN3j8FX2URE6Hnct805bjdcXQ==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\Mezo\\Documents\\GitHub\\Monogame.ImGuiNet\\Monogame.ImGuiNet.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\imgui.net\\1.89.7.1\\imgui.net.1.89.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\monogame.content.builder.task\\3.8.1.303\\monogame.content.builder.task.3.8.1.303.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\monogame.framework.desktopgl\\3.8.1.303\\monogame.framework.desktopgl.3.8.1.303.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\system.buffers\\4.4.0\\system.buffers.4.4.0.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\system.numerics.vectors\\4.4.0\\system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.4.0\\system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\6.0.18\\microsoft.windowsdesktop.app.ref.6.0.18.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\microsoft.netcore.app.ref\\6.0.18\\microsoft.netcore.app.ref.6.0.18.nupkg.sha512",
|
||||
"C:\\Users\\Mezo\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\6.0.18\\microsoft.aspnetcore.app.ref.6.0.18.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Reference in New Issue
Block a user