mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,45 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
public partial class ImGui
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1014">imgui.h:1014</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L5879">imgui.cpp:5879</see>
|
||||
/// <br/>
|
||||
/// <c>void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Clipping
|
||||
/// - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only.
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// Push a clipping rectangle for both ImGui logic (hit-testing etc.) and low-level ImDrawList rendering.
|
||||
/// - When using this function it is sane to ensure that float are perfectly rounded to integer values,
|
||||
/// so that e.g. (int)(max.x-min.x) in user's render produce correct result.
|
||||
/// - If the code here changes, may need to update code of functions like NextColumn() and PushColumnClipRect():
|
||||
/// some frequently called functions which to modify both channels and clipping simultaneously tend to use the
|
||||
/// more specialized SetWindowClipRectBeforeSetChannel() to avoid extraneous updates of underlying ImDrawCmds.
|
||||
/// - This is analogous to PushFont()/PopFont() in the sense that are a mixing a global stack and a window stack,
|
||||
/// which in the case of ClipRect is not so problematic but tends to be more restrictive for fonts.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial void PushClipRect(
|
||||
float2* clip_rect_min,
|
||||
float2* clip_rect_max,
|
||||
Bool8 intersect_with_current_clip_rect
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue