Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
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
 

Constructor & Destructor Documentation

◆ ImColor() [1/5]

ImColor::ImColor ( )
inline

◆ ImColor() [2/5]

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

◆ ImColor() [3/5]

ImColor::ImColor ( ImU32  rgba)
inline

◆ ImColor() [4/5]

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

◆ ImColor() [5/5]

ImColor::ImColor ( const ImVec4 col)
inline

Member Function Documentation

◆ HSV()

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

◆ operator ImU32()

ImColor::operator ImU32 ( ) const
inline

◆ operator ImVec4()

ImColor::operator ImVec4 ( ) const
inline

◆ SetHSV()

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

Member Data Documentation

◆ Value

ImVec4 ImColor::Value

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