// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi.Internal { public static partial class ImGuiViewportPExtensions { /// /// /// C++: /// imgui_internal.h:2123 ///
void ClearRequestFlags() ///
///
public static unsafe void ClearRequestFlags(this ImGuiViewportPPtr target) => PInvoke.ImGuiViewportP_ClearRequestFlags_internal(target); /// /// /// C++: /// imgui_internal.h:2126 ///
ImVec2 CalcWorkRectPos(const ImVec2& inset_min) const ///
///
/// /// /// Calculate work rect pos/size given a set of offset (we have 1 pair of offset for rect locked from last /// frame data, and 1 pair for currently building rect) /// /// public static unsafe float2 CalcWorkRectPos(this ImGuiViewportPPtr target, in float2 insetMin) { fixed (float2* insetMin_fixed = &insetMin) { return PInvoke.ImGuiViewportP_CalcWorkRectPos_internal(target, insetMin_fixed); } } /// /// /// C++: /// imgui_internal.h:2127 ///
ImVec2 CalcWorkRectSize(const ImVec2& inset_min, const ImVec2& inset_max) const ///
///
/// /// /// Calculate work rect pos/size given a set of offset (we have 1 pair of offset for rect locked from last /// frame data, and 1 pair for currently building rect) /// /// public static unsafe float2 CalcWorkRectSize( this ImGuiViewportPPtr target, in float2 insetMin, in float2 insetMax ) { fixed (float2* insetMax_fixed = &insetMax) { fixed (float2* insetMin_fixed = &insetMin) { return PInvoke.ImGuiViewportP_CalcWorkRectSize_internal(target, insetMin_fixed, insetMax_fixed); } } } /// /// /// Update public fields /// /// /// C++: /// imgui_internal.h:2128 ///
void UpdateWorkRect() ///
///
/// /// /// Calculate work rect pos/size given a set of offset (we have 1 pair of offset for rect locked from last /// frame data, and 1 pair for currently building rect) /// /// public static unsafe void UpdateWorkRect(this ImGuiViewportPPtr target) => PInvoke.ImGuiViewportP_UpdateWorkRect_internal(target); /// /// /// C++: /// imgui_internal.h:2131 ///
ImRect GetMainRect() const ///
///
/// /// /// Helpers to retrieve ImRect (we don't need to store BuildWorkRect as every access tend to change it, /// hence the code asymmetry) /// /// public static unsafe floatRect GetMainRect(this ImGuiViewportPPtr target) => PInvoke.ImGuiViewportP_GetMainRect_internal(target); /// /// /// C++: /// imgui_internal.h:2132 ///
ImRect GetWorkRect() const ///
///
/// /// /// Helpers to retrieve ImRect (we don't need to store BuildWorkRect as every access tend to change it, /// hence the code asymmetry) /// /// public static unsafe floatRect GetWorkRect(this ImGuiViewportPPtr target) => PInvoke.ImGuiViewportP_GetWorkRect_internal(target); /// /// /// C++: /// imgui_internal.h:2133 ///
ImRect GetBuildWorkRect() const ///
///
/// /// /// Helpers to retrieve ImRect (we don't need to store BuildWorkRect as every access tend to change it, /// hence the code asymmetry) /// /// public static unsafe floatRect GetBuildWorkRect(this ImGuiViewportPPtr target) => PInvoke.ImGuiViewportP_GetBuildWorkRect_internal(target); } }