MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / ImVec4

Class ImVec4

extern/imgui/imgui.h:272–280  ·  view source on GitHub ↗

ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]

Source from the content-addressed store, hash-verified

270
271// ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]
272struct ImVec4
273{
274 float x, y, z, w;
275 constexpr ImVec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) { }
276 constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) { }
277#ifdef IM_VEC4_CLASS_EXTRA
278 IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
279#endif
280};
281IM_MSVC_RUNTIME_CHECKS_RESTORE
282
283//-----------------------------------------------------------------------------

Callers 15

imgui.hFile · 0.85
BeginMethod · 0.85
DockNodeUpdateTabBarMethod · 0.85
ShowFontAtlasMethod · 0.85
DebugNodeDrawListMethod · 0.85
ShowStackToolWindowMethod · 0.85
StyleColorsDarkMethod · 0.85
StyleColorsClassicMethod · 0.85
StyleColorsLightMethod · 0.85
ScaleClipRectsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected