ImGuiExtensions
Namespace: SharpPluginLoader.Core.Rendering
public static class ImGuiExtensions
Inheritance Object → ImGuiExtensions
Methods
BeginTimeline(String, Single, Single, Single&, ImGuiTimelineFlags)
public static bool BeginTimeline(string label, float startFrame, float endFrame, Single& currentFrame, ImGuiTimelineFlags flags)
Parameters
label String
startFrame Single
endFrame Single
currentFrame Single&
flags ImGuiTimelineFlags
Returns
EndTimeline()
public static void EndTimeline()
BeginTimelineGroup(String, Boolean&)
public static bool BeginTimelineGroup(string label, Boolean& expanded)
Parameters
label String
expanded Boolean&
Returns
BeginTimelineGroup(String)
public static bool BeginTimelineGroup(string label)
Parameters
label String
Returns
EndTimelineGroup()
public static void EndTimelineGroup()
TimelineTrack(String, Span<Single>, Int32&, Int32)
public static bool TimelineTrack(string label, Span<float> keyframes, Int32& selectedKeyframe, int explicitCount)
Parameters
label String
keyframes Span<Single>
selectedKeyframe Int32&
explicitCount Int32
Returns
TimelineTrack(String, Span<Single>, Int32)
public static bool TimelineTrack(string label, Span<float> keyframes, int explicitCount)
Parameters
label String
keyframes Span<Single>
explicitCount Int32
Returns
NotificationSuccess(String, Int32)
public static void NotificationSuccess(string message, int duration)
Parameters
message String
duration Int32
NotificationError(String, Int32)
public static void NotificationError(string message, int duration)
Parameters
message String
duration Int32
NotificationWarning(String, Int32)
public static void NotificationWarning(string message, int duration)
Parameters
message String
duration Int32
NotificationInfo(String, Int32)
public static void NotificationInfo(string message, int duration)
Parameters
message String
duration Int32
Notification(ImGuiToastType, String, String, Int32)
public static void Notification(ImGuiToastType type, string title, string message, int duration)
Parameters
type ImGuiToastType
title String
message String
duration Int32
InputScalar(String, SByte&, SByte, SByte, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, SByte& value, sbyte step, sbyte stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value SByte&
step SByte
stepFast SByte
format String
flags ImGuiInputTextFlags
Returns
InputScalar(String, Byte&, Byte, Byte, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, Byte& value, byte step, byte stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value Byte&
step Byte
stepFast Byte
format String
flags ImGuiInputTextFlags
Returns
InputScalar(String, Int16&, Int16, Int16, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, Int16& value, short step, short stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value Int16&
step Int16
stepFast Int16
format String
flags ImGuiInputTextFlags
Returns
InputScalar(String, UInt16&, UInt16, UInt16, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, UInt16& value, ushort step, ushort stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value UInt16&
step UInt16
stepFast UInt16
format String
flags ImGuiInputTextFlags
Returns
InputScalar(String, Int32&, Int32, Int32, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, Int32& value, int step, int stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value Int32&
step Int32
stepFast Int32
format String
flags ImGuiInputTextFlags
Returns
InputScalar(String, UInt32&, UInt32, UInt32, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, UInt32& value, uint step, uint stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value UInt32&
step UInt32
stepFast UInt32
format String
flags ImGuiInputTextFlags
Returns
InputScalar(String, Int64&, Int64, Int64, String, ImGuiInputTextFlags)
public static bool InputScalar(string label, Int64& value, long step, long stepFast, string format, ImGuiInputTextFlags flags)
Parameters
label String
value Int64&
step Int64
stepFast Int64
format String
flags ImGuiInputTextFlags