| 16385 | } |
| 16386 | |
| 16387 | ImU64 ImGui::DebugTextureIDToU64(ImTextureID tex_id) |
| 16388 | { |
| 16389 | ImU64 v = 0; |
| 16390 | memcpy(&v, &tex_id, ImMin(sizeof(ImU64), sizeof(ImTextureID))); |
| 16391 | return v; |
| 16392 | } |
| 16393 | |
| 16394 | static const char* FormatTextureRefForDebugDisplay(char* buf, int buf_size, ImTextureRef tex_ref) |
| 16395 | { |