MCPcopy Create free account
hub / github.com/RenderKit/embree / GetCustomRectByIndex

Method GetCustomRectByIndex

tutorials/common/imgui/imgui.h:2801–2801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2799 IMGUI_API int AddCustomRectRegular(int width, int height);
2800 IMGUI_API int AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset = ImVec2(0, 0));
2801 ImFontAtlasCustomRect* GetCustomRectByIndex(int index) { IM_ASSERT(index >= 0); return &CustomRects[index]; }
2802
2803 // [Internal]
2804 IMGUI_API void CalcCustomRectUV(const ImFontAtlasCustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_max) const;

Calls

no outgoing calls

Tested by

no test coverage detected