ImGuiController
public class ImGuiController : DisposableObject, IDisposable
object
DisposableObject
IDisposable
Inheritance and metadata
Inheritance
- object
- DisposableObject
- ImGuiController
Interfaces
Constructors
public ImGuiController(GraphicsContext context, AttachmentFormats attachmentFormats, ImGuiColorSpace colorSpace, string? fontPath = null, Action<ImGuiIOPtr>? otherSetup = null)
GraphicsContext
AttachmentFormats
ImGuiColorSpace
string
Action<ImGuiIOPtr>
Properties
public ImGuiContextPtr Context { get; }
ImGuiContextPtr
public IImGuiPlatformBindings? PlatformBindings { get; set; }
IImGuiPlatformBindings
Methods
protected override void Destroy()
public void KeyChar(char c)
char
public void KeyDown(ImGuiKey key)
ImGuiKey
public void KeyUp(ImGuiKey key)
ImGuiKey
public void MouseDown(ImGuiMouseButton button)
ImGuiMouseButton
public void MouseMove(Vector2 position)
Vector2
public void MouseUp(ImGuiMouseButton button)
ImGuiMouseButton
public void MouseWheel(Vector2 offset)
Vector2
public void Render(CommandBuffer commandBuffer, ColorAttachment colorAttachment)
CommandBuffer
ColorAttachment
public void Update(double delta, uint width, uint height)
double
uint
uint