public static unsafe bool Checkbox(string label, ref bool value) { fixed(byte *bytes = System.Text.Encoding.UTF8.GetBytes(label)) { return(ImGuiNative.igCheckbox(bytes, ref value)); } }
public static bool Checkbox(string label, ref bool value) { return(ImGuiNative.igCheckbox(label, ref value)); }
public static bool Checkbox(string label, ref bool value) => ImGuiNative.igCheckbox(label, ref value);