Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ImColor Struct Reference

#include <imgui.h>

Public Member Functions

 ImColor ()
 
 ImColor (const ImVec4 &col)
 
 ImColor (float r, float g, float b, float a=1.0f)
 
 ImColor (ImU32 rgba)
 
 ImColor (int r, int g, int b, int a=255)
 
 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 1829 of file imgui.h.

Constructor & Destructor Documentation

◆ ImColor() [1/5]

ImColor::ImColor ( )
inline

Definition at line 1833 of file imgui.h.

◆ ImColor() [2/5]

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

Definition at line 1834 of file imgui.h.

◆ ImColor() [3/5]

ImColor::ImColor ( ImU32  rgba)
inline

Definition at line 1835 of file imgui.h.

◆ ImColor() [4/5]

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

Definition at line 1836 of file imgui.h.

◆ ImColor() [5/5]

ImColor::ImColor ( const ImVec4 col)
inline

Definition at line 1837 of file imgui.h.

Member Function Documentation

◆ HSV()

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

Definition at line 1843 of file imgui.h.

◆ operator ImU32()

ImColor::operator ImU32 ( ) const
inline

Definition at line 1838 of file imgui.h.

◆ operator ImVec4()

ImColor::operator ImVec4 ( ) const
inline

Definition at line 1839 of file imgui.h.

◆ SetHSV()

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

Definition at line 1842 of file imgui.h.

Member Data Documentation

◆ Value

ImVec4 ImColor::Value

Definition at line 1831 of file imgui.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06