Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ImColor Struct Reference

#include <imgui.h>

Public Member Functions

 ImColor ()
 
 ImColor (int r, int g, int b, int a=255)
 
 ImColor (ImU32 rgba)
 
 ImColor (float r, float g, float b, float a=1.0f)
 
 ImColor (const ImVec4 &col)
 
 operator ImU32 () const
 
 operator ImVec4 () const
 
void SetHSV (float h, float s, float v, float a=1.0f)
 

Static Public Member Functions

static ImColor HSV (float h, float s, float v, float a=1.0f)
 

Public Attributes

ImVec4 Value
 

Detailed Description

Definition at line 1121 of file imgui.h.

Constructor & Destructor Documentation

ImColor::ImColor ( )
inline

Definition at line 1125 of file imgui.h.

ImColor::ImColor ( int  r,
int  g,
int  b,
int  a = 255 
)
inline

Definition at line 1126 of file imgui.h.

ImColor::ImColor ( ImU32  rgba)
inline

Definition at line 1127 of file imgui.h.

ImColor::ImColor ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
inline

Definition at line 1128 of file imgui.h.

ImColor::ImColor ( const ImVec4 col)
inline

Definition at line 1129 of file imgui.h.

Member Function Documentation

static ImColor ImColor::HSV ( float  h,
float  s,
float  v,
float  a = 1.0f 
)
inlinestatic

Definition at line 1135 of file imgui.h.

ImColor::operator ImU32 ( ) const
inline

Definition at line 1130 of file imgui.h.

ImColor::operator ImVec4 ( ) const
inline

Definition at line 1131 of file imgui.h.

void ImColor::SetHSV ( float  h,
float  s,
float  v,
float  a = 1.0f 
)
inline

Definition at line 1134 of file imgui.h.

Member Data Documentation

ImVec4 ImColor::Value

Definition at line 1123 of file imgui.h.


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