igBegin2() private method

private igBegin2 ( string name, bool &p_opened, Vector2 size_on_first_use, float bg_alpha, WindowFlags flags ) : bool
name string
p_opened bool
size_on_first_use Vector2
bg_alpha float
flags WindowFlags
return bool
示例#1
0
        public static unsafe bool BeginWindow(string windowTitle, ref bool opened, Vector2 startingSize, float backgroundAlpha, WindowFlags flags)
        {
            byte openedLocal = opened ? (byte)1 : (byte)0;
            bool ret         = ImGuiNative.igBegin2(windowTitle, &openedLocal, startingSize, backgroundAlpha, flags);

            opened = openedLocal != 0;
            return(ret);
        }
示例#2
0
        public static unsafe bool BeginWindow(string windowTitle, ref bool opened, Vector2 startingSize, WindowFlags flags)
        {
            byte openedLocal = opened ? (byte)1 : (byte)0;
            bool ret         = ImGuiNative.igBegin2(windowTitle, &openedLocal, startingSize.ToNumericsVector2(), 1f, flags);

            opened = openedLocal != 0;
            return(ret);
        }
示例#3
0
 public static bool BeginWindow(string windowTitle, ref bool opened, Vector2 startingSize, float backgroundAlpha, WindowFlags flags)
 {
     return(ImGuiNative.igBegin2(windowTitle, ref opened, startingSize, backgroundAlpha, flags));
 }
示例#4
0
 public static bool Begin(string windowTitle, ref bool opened, ImVec2 startingSize, float backgroundAlpha,
                          ImGuiWindowFlags flags = ImGuiWindowFlags.Default)
 {
     return(ImGuiNative.igBegin2(windowTitle, ref opened, startingSize, backgroundAlpha, flags));
 }
示例#5
0
文件: ImGui.cs 项目: se5a/ImGuiCS
 public static bool Begin(string windowTitle, ref bool opened, ImVec2 startingSize, ImGuiWindowFlags flags = ImGuiWindowFlags.Default)
 => ImGuiNative.igBegin2(windowTitle, ref opened, startingSize, 1f, flags);
示例#6
0
文件: ImGui.cs 项目: se5a/ImGuiCS
 public static bool Begin(string windowTitle, ref bool opened, float backgroundAlpha, ImGuiWindowFlags flags = ImGuiWindowFlags.Default)
 => ImGuiNative.igBegin2(windowTitle, ref opened, new ImVec2(), backgroundAlpha, flags);