MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImVec4

Class ImVec4

KBotExt/imgui/imgui.h:273–281  ·  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

271
272// ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]
273struct ImVec4
274{
275 float x, y, z, w;
276 constexpr ImVec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) { }
277 constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) { }
278#ifdef IM_VEC4_CLASS_EXTRA
279 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.
280#endif
281};
282IM_MSVC_RUNTIME_CHECKS_RESTORE
283
284//-----------------------------------------------------------------------------

Callers 15

EndFrameMethod · 0.85
MenuInitMethod · 0.85
imgui.hFile · 0.85
operator+Function · 0.85
operator-Function · 0.85
operator*Function · 0.85
BeginMethod · 0.85
ShowFontAtlasMethod · 0.85
DebugNodeDrawListMethod · 0.85
ShowStackToolWindowMethod · 0.85
StyleColorsDarkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected