Class: ImDrawCmd
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImDrawCmd
- Defined in:
- lib/imgui.rb
Overview
Typically, 1 command = 1 GPU draw call (unless command is a callback)
-
VtxOffset: When ‘io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset’ is enabled, this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices. Backends made for <1.71. will typically ignore the VtxOffset fields.
-
The ClipRect/TextureId/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for).