ImGuiVisualEntry

ceramic._ImGuiVisuals.ImGuiVisualEntry (private class)

One displayed visual: its filter (atlas tile or dedicated RT) + lifecycle state.

Instance Members

imgui
visual: ceramic.Visual

imgui
filter: ceramic.Filter

imgui
lastUsedFrame: Int

imgui
width: Int

Filter area size (logical units): the offscreen texture area.


imgui
height: Int

imgui
displayWidth: Float

Displayed image size in the ImGui layout (may differ from the texture area in native resolution mode).


imgui
displayHeight: Float

imgui
dedicated: Bool

True when this entry uses its own render texture instead of the shared atlas.


imgui
antialiasing: Int

Offscreen texture settings for this entry.


imgui
nearest: Bool

imgui
hitProxy: ceramic.Quad

Invisible quad aligned with the ImGui item rect, used as the filter's hitVisual so ceramic pointer events reach the content.


imgui
windowFocused: Bool

Whether the ImGui window displaying this visual is focused (last submit).


imgui
hovered: Bool

Whether the displayed image is hovered (last submit).


imgui
ensureFilter(w: Int, h: Int, antialiasing: Int, nearest: Bool): Void

Create the filter if needed and keep its size/settings in sync.

Name Type
w Int
h Int
antialiasing Int
nearest Bool

imgui
attach(): Void

Reparent the visual into the filter content (elements semantics).


imgui
layoutContent(nativeResolution: Bool): Void

Center the visual in the filter area (scaled to fit, or 1:1 in native resolution mode).

Name Type
nativeResolution Bool

imgui
detach(): Void

Pause: detach the visual and stop rendering (entry kept during grace period).


imgui
dispose(detachVisual: Bool): Void

Destroy the filter (releases the atlas tile). detachVisual false when the visual itself is being destroyed.

Name Type
detachVisual Bool

imgui
new(visual: ceramic.Visual): Void
Name Type
visual ceramic.Visual

Private Members

imgui
attached: Bool

Metadata

Name Parameters
:allow ceramic.ImGuiVisuals