MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImDrawListFlags_

Enum ImDrawListFlags_

KBotExt/imgui/imgui.h:2606–2613  ·  view source on GitHub ↗

Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly. It is however possible to temporarily alter flags between calls to ImDrawList:: functions.

Source from the content-addressed store, hash-verified

2604// Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly.
2605// It is however possible to temporarily alter flags between calls to ImDrawList:: functions.
2606enum ImDrawListFlags_
2607{
2608 ImDrawListFlags_None = 0,
2609 ImDrawListFlags_AntiAliasedLines = 1 << 0, // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles)
2610 ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering).
2611 ImDrawListFlags_AntiAliasedFill = 1 << 2, // Enable anti-aliased edge around filled shapes (rounded rectangles, circles).
2612 ImDrawListFlags_AllowVtxOffset = 1 << 3, // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
2613};
2614
2615// Draw command list
2616// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected