PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
Loading...
Searching...
No Matches
ImVec2 Struct Reference

Detailed Description

Definition at line 266 of file imgui.h.

#include <imgui.h>

Public Member Functions

constexpr ImVec2 ()
 
constexpr ImVec2 (float _x, float _y)
 
float operator[] (size_t idx) const
 
float & operator[] (size_t idx)
 

Public Attributes

float x
 
float y
 

Constructor & Destructor Documentation

◆ ImVec2() [1/2]

ImVec2::ImVec2 ( )
inlineconstexpr

Definition at line 269 of file imgui.h.

◆ ImVec2() [2/2]

ImVec2::ImVec2 ( float _x,
float _y )
inlineconstexpr

Definition at line 270 of file imgui.h.

Member Function Documentation

◆ operator[]() [1/2]

float & ImVec2::operator[] ( size_t idx)
inline

Definition at line 272 of file imgui.h.

◆ operator[]() [2/2]

float ImVec2::operator[] ( size_t idx) const
inline

Definition at line 271 of file imgui.h.

Member Data Documentation

◆ x

float ImVec2::x

Definition at line 268 of file imgui.h.

◆ y

float ImVec2::y

Definition at line 268 of file imgui.h.


The documentation for this struct was generated from the following file: