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

Method GetBuildWorkRect

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

Source from the content-addressed store, hash-verified

1579 ImRect GetMainRect() const { return ImRect(Pos.x, Pos.y, Pos.x + Size.x, Pos.y + Size.y); }
1580 ImRect GetWorkRect() const { return ImRect(WorkPos.x, WorkPos.y, WorkPos.x + WorkSize.x, WorkPos.y + WorkSize.y); }
1581 ImRect GetBuildWorkRect() const { ImVec2 pos = CalcWorkRectPos(BuildWorkOffsetMin); ImVec2 size = CalcWorkRectSize(BuildWorkOffsetMin, BuildWorkOffsetMax); return ImRect(pos.x, pos.y, pos.x + size.x, pos.y + size.y); }
1582};
1583
1584//-----------------------------------------------------------------------------

Callers 1

BeginViewportSideBarMethod · 0.80

Calls 1

ImRectFunction · 0.70

Tested by

no test coverage detected