Show More
Commit Description:
Loads of new ideas, many from thinking about when I'm not coding and some from just now....
Commit Description:
Loads of new ideas, many from thinking about when I'm not coding and some from just now.
Note that instead of doing leisure next, I'm doing events next. I honestly might switch back
but I have ideas for dialog that fit nicely into a focus on events.
References:
File last commit:
Show/Diff file:
Action:
ImGui.NET/Generated/ImDrawChannel.gen.cs
24 lines | 1.1 KiB | text/x-csharp | CSharpLexer
24 lines | 1.1 KiB | text/x-csharp | CSharpLexer
r16 | using System; | |||
using System.Numerics; | ||||
using System.Runtime.CompilerServices; | ||||
using System.Text; | ||||
namespace ImGuiNET | ||||
{ | ||||
public unsafe partial struct ImDrawChannel | ||||
{ | ||||
public ImVector _CmdBuffer; | ||||
public ImVector _IdxBuffer; | ||||
} | ||||
public unsafe partial struct ImDrawChannelPtr | ||||
{ | ||||
public ImDrawChannel* NativePtr { get; } | ||||
public ImDrawChannelPtr(ImDrawChannel* nativePtr) => NativePtr = nativePtr; | ||||
public ImDrawChannelPtr(IntPtr nativePtr) => NativePtr = (ImDrawChannel*)nativePtr; | ||||
public static implicit operator ImDrawChannelPtr(ImDrawChannel* nativePtr) => new ImDrawChannelPtr(nativePtr); | ||||
public static implicit operator ImDrawChannel* (ImDrawChannelPtr wrappedPtr) => wrappedPtr.NativePtr; | ||||
public static implicit operator ImDrawChannelPtr(IntPtr nativePtr) => new ImDrawChannelPtr(nativePtr); | ||||
public ImPtrVector<ImDrawCmdPtr> _CmdBuffer => new ImPtrVector<ImDrawCmdPtr>(NativePtr->_CmdBuffer, Unsafe.SizeOf<ImDrawCmd>()); | ||||
public ImVector<ushort> _IdxBuffer => new ImVector<ushort>(NativePtr->_IdxBuffer); | ||||
} | ||||
} | ||||