igMenuItem() 개인적인 메소드

private igMenuItem ( string label, string shortcut, bool selected, bool enabled ) : bool
label string
shortcut string
selected bool
enabled bool
리턴 bool
예제 #1
0
 public static unsafe bool MenuItem(string label, string shortcut, bool selected, bool enabled)
 {
     fixed(byte *bytes = System.Text.Encoding.UTF8.GetBytes(label))
     {
         return(ImGuiNative.igMenuItem(bytes, shortcut, selected, enabled));
     }
 }
예제 #2
0
 public static bool MenuItem(string label, string shortcut, bool selected, bool enabled)
 {
     return(ImGuiNative.igMenuItem(label, shortcut, selected, enabled));
 }